{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"}],"enrichment":{"capability":"Provides PostgreSQL advisory locks for Django applications through context managers; deprecated and replaced by django-pgware.","skillfed_tags":["deprecated","postgresql-locks","migration-shim"],"use_cases":["Migrate legacy code from django-pglocks to django-pgware by installing 2.1.0 as an intermediate step and addressing deprecation warnings.","Protect critical database operations from concurrent execution across multiple Django application instances using PostgreSQL locks.","Serialize access to shared resources (e.g., file uploads, report generation) without deploying a separate distributed lock service."],"what_it_does":"django-pglocks wraps PostgreSQL advisory locks as Django context managers, allowing you to protect critical sections of code from concurrent access using database-level locking. It was originally designed to serialize operations across multiple application instances without explicit distributed locking infrastructure.\n\nAs of version 2.1.0, this package is deprecated and serves only as a compatibility shim. Its functionality has been consolidated into django-pgware, which provides the same advisory_lock and async_advisory_lock exports under a different import path. The package will not receive further updates; it exists only to ease migration for existing users.","worth_installing":"No. This package is deprecated and explicitly directs users to django-pgware. Install django-pgware directly instead. If you have existing code using django-pglocks, version 2.1.0 can serve as a temporary bridge to ease migration, but it should not be the final destination\u2014update your imports to use django-pgware's django_pg_utils module."},"id":"django-pglocks","links":{"html":"https://skillfed.io/packages/django-pglocks","md":"https://skillfed.io/packages/django-pglocks.md","pypi":"https://pypi.org/project/django-pglocks/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-21","license_spdx":"MIT","license_treatment":"permissive","name":"django-pglocks","python_support":"supports_current","summary":"DEPRECATED \u2014 consolidated into django-pgware. Context managers for PostgreSQL advisory locks in Django."},"popularity":{"monthly_downloads":130280,"position":11645,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
