txpostgres
django-pgtrigger

txpostgres | django-pgtrigger | |
---|---|---|
- | 3 | |
103 | 569 | |
- | 1.6% | |
2.7 | 7.1 | |
over 1 year ago | 2 months ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
txpostgres
We haven't tracked posts mentioning txpostgres yet.
Tracking mentions began in Dec 2020.
django-pgtrigger
-
How Postgres Triggers Can Simplify Your Back End Development
For Django there's https://github.com/Opus10/django-pgtrigger that makes it possible to define triggers right in your models, so you have everything in one place.
-
This Week in Python
django-pgtrigger – Write Postgres triggers for your Django models
-
A lightweight alternative to Celery for Django-PostgreSQL apps.
Note that have now ditched our post_save signal from the previous solution. As we pointed out, signals can easily be missed. Instead, we are using a Postgres trigger : defining the listener as it is above makes use of the django-pgtrigger library to write a Postgres trigger to our database, the job of which is to notify our channel whenever a Comment is inserted in to the database. Triggers are far more robust than signals for detecting database write events; application level triggers can easily be missed, whereas triggers will always be executed.
What are some alternatives?
psycopg2 - PostgreSQL database adapter for the Python programming language
queries - PostgreSQL database access simplified
Python PG Extras - Python PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.
awesome-mysql - A curated list of awesome MySQL software, libraries, tools and resources
kenobi - Easiest way to monitor asynchronous data pipelines
django-pgpubsub - A distributed task processing framework for Django built on top of the Postgres NOTIFY/LISTEN protocol.
redis-search-django - Django package that provides auto indexing and searching capabilities for Django model instances using RediSearch.
