pgnotify: Easily LISTEN to PostgreSQL NOTIFY notifications
LISTEN to and process NOTIFY events with a simple for loop, like so:
from pgnotify import await_pg_notifications
for notification in await_pg_notifications(
'postgresql:///nameofdatabase',
['nameoflisteningchannel', 'nameoflisteningchannel2']):
print(notification.channel)
print(notification.payload)
More docs to come.
Metadata
Release files for pgnotify 0.1.1541156696
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pgnotify-0.1.1541156696.tar.gz | 3.4 kB | Without provenance | Details for pgnotify-0.1.1541156696.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pgnotify-0.1.1541156696-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pgnotify-0.1.1541156696-py2.py3-none-any.whl |
Total release size: 10.5 kB
Release files / pgnotify-0.1.1541156696.tar.gz
| Download URL | pgnotify-0.1.1541156696.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7234bc53fa537ff387cd23f2b7d438140d73e8739781a0d52e13498f292361ec
|
|
BLAKE2b-256 checksum How to use checksums |
23f21abaaa3040e4400dbab30be38cb99b151170868e583bb6d124c1aef1440c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.5 CPython/3.7.0 Linux/4.4.0-137-generic
|
Release files / pgnotify-0.1.1541156696-py2.py3-none-any.whl
| Download URL | pgnotify-0.1.1541156696-py2.py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9c592960a2134fcb4dfac0b6af2953bd2339fa337294f298687bf13fe4fee1ad
|
|
BLAKE2b-256 checksum How to use checksums |
7560775dfa2d6fc8c99b24ab4595c6ebcc1f7b8b0853a099cc9f0b469ad2e2c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.5 CPython/3.7.0 Linux/4.4.0-137-generic
|
Security for pgnotify 0.1.1541156696
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.