Skip to main content

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.1539665961

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pgnotify 0.1.1539665961
File Size Uploaded Provenance Actions
pgnotify-0.1.1539665961.tar.gz 3.2 kB Without provenance Details for pgnotify-0.1.1539665961.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pgnotify 0.1.1539665961
File Interpreter ABI Platform Actions
pgnotify-0.1.1539665961-py2.py3-none-any.whl Python 3, Python 2 none any Details for pgnotify-0.1.1539665961-py2.py3-none-any.whl

Total release size: 9.7 kB

Release files / pgnotify-0.1.1539665961.tar.gz

Download URL pgnotify-0.1.1539665961.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a5882135f2f17eb2b1b0bbfb513d0bdd0b4e92ca360e2d79f22fdf187bbdcf0d
BLAKE2b-256 checksum
How to use checksums
05309540dc345b9f71fa3a215b0cf4c8e874d2dd720698f7855e39ae247affc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.11.5 CPython/3.7.0 Linux/4.4.0-137-generic

Release files / pgnotify-0.1.1539665961-py2.py3-none-any.whl

Download URL pgnotify-0.1.1539665961-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
28dbd4f836668bb0e31cbbb81c196902efd1449dbb96e8823fcb4e6cd4e27cca
BLAKE2b-256 checksum
How to use checksums
0a1d574a127c3eae2a7ae4d3581648a7a9cc7fed138cb9d84d866a5fbab274e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.11.5 CPython/3.7.0 Linux/4.4.0-137-generic

Security for pgnotify 0.1.1539665961

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page