Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Async websocket to PostgreSQL proxy

Project description

from pgwebsocket import PgWebsocket

app = PgWebsocket(

async def on_connect(ctx):
    ctx.subscribed = []
    await ctx.execute("LISTEN all;")

async def on_disconnect(ctx):
    await ctx.execute("UNLISTEN all;")

if __name__ == '__main__':

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pgwebsocket-0.0.1b2-py3-none-any.whl (4.8 kB) Copy SHA256 hash SHA256 Wheel 3.5 Aug 26, 2016
pgwebsocket-0.0.1b2.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Aug 26, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page