Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python312-django-pglocks-1.0.4-3.1 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: python312-django-pglocks Distribution: openSUSE Tumbleweed
Version: 1.0.4 Vendor: openSUSE
Release: 3.1 Build date: Tue Jun 25 08:19:54 2024
Group: Unspecified Build host: reproducible
Size: 14321 Source RPM: python-django-pglocks-1.0.4-3.1.src.rpm
Packager: http://bugs.opensuse.org
Url: https://github.com/Xof/django-pglocks
Summary: PostgreSQL Advisory Locks for Django
django-pglocks provides a useful context manager to manage PostgreSQL advisory
locks. It requires Django (tested with 1.5), PostgreSQL, and (probably) psycopg2.

Advisory locks are application-level locks that are acquired and released purely
by the client of the database; PostgreSQL never acquires them on its own. They
are very useful as a way of signalling to other sessions that a higher-level
resource than a single row is in use, without having to lock an entire table or
some other structure.

It's entirely up to the application to correctly acquire the right lock.

Advisory locks are either session locks or transaction locks. A session lock is
held until the database session disconnects (or is reset); a transaction lock is
held until the transaction terminates.

Currently, the context manager only creates session locks, as the behavior of a
lock persisting after the context body has been exited is surprising, and
there's no way of releasing a transaction-scope advisory lock except to exit
the transaction.

Provides

Requires

License

MIT

Changelog

* Tue Jun 25 2024 Steve Kowalik <steven.kowalik@suse.com>
  - Switch to pyproject macros.
  - Add missing Requires on python-six.
  - No more greedy globs in %files.
* Thu Mar 28 2024 Max Lin <mlin@suse.com>
  - Add %{?sle15_python_module_pythons}
* Thu Apr 02 2020 Marketa Calabkova <mcalabkova@suse.com>
  - update to version 1.0.4
    * Add Django 3.0 compatibility
* Tue Dec 03 2019 Andreas Hasenkopf <ahasenkopf@suse.com>
  - Initial version

Files

/usr/lib/python3.12/site-packages/django_pglocks
/usr/lib/python3.12/site-packages/django_pglocks-1.0.4.dist-info
/usr/lib/python3.12/site-packages/django_pglocks-1.0.4.dist-info/INSTALLER
/usr/lib/python3.12/site-packages/django_pglocks-1.0.4.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/django_pglocks-1.0.4.dist-info/METADATA
/usr/lib/python3.12/site-packages/django_pglocks-1.0.4.dist-info/RECORD
/usr/lib/python3.12/site-packages/django_pglocks-1.0.4.dist-info/REQUESTED
/usr/lib/python3.12/site-packages/django_pglocks-1.0.4.dist-info/WHEEL
/usr/lib/python3.12/site-packages/django_pglocks-1.0.4.dist-info/top_level.txt
/usr/lib/python3.12/site-packages/django_pglocks/__init__.py
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__/models.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__/models.cpython-312.pyc
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__/test_settings.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__/test_settings.cpython-312.pyc
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__/tests.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/django_pglocks/__pycache__/tests.cpython-312.pyc
/usr/lib/python3.12/site-packages/django_pglocks/models.py
/usr/lib/python3.12/site-packages/django_pglocks/test_settings.py
/usr/lib/python3.12/site-packages/django_pglocks/tests.py
/usr/share/doc/packages/python312-django-pglocks
/usr/share/doc/packages/python312-django-pglocks/CHANGES.txt
/usr/share/licenses/python312-django-pglocks
/usr/share/licenses/python312-django-pglocks/LICENSE.txt


Generated by rpm2html 1.8.1

Fabrice Bellet, Sun Nov 10 00:24:22 2024