{"id":13937092,"url":"https://github.com/wulczer/txpostgres","last_synced_at":"2026-02-16T13:23:21.434Z","repository":{"id":64933489,"uuid":"1146117","full_name":"wulczer/txpostgres","owner":"wulczer","description":"Twisted wrapper for asynchronous PostgreSQL connections","archived":false,"fork":false,"pushed_at":"2023-06-14T14:07:29.000Z","size":321,"stargazers_count":103,"open_issues_count":4,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-02-14T03:36:32.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://txpostgres.readthedocs.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wulczer.png","metadata":{"files":{"readme":"README.rst","changelog":"NEWS","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-12-07T10:26:47.000Z","updated_at":"2023-08-02T06:26:21.000Z","dependencies_parsed_at":"2024-11-27T06:48:05.031Z","dependency_job_id":null,"html_url":"https://github.com/wulczer/txpostgres","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/wulczer/txpostgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulczer%2Ftxpostgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulczer%2Ftxpostgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulczer%2Ftxpostgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulczer%2Ftxpostgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wulczer","download_url":"https://codeload.github.com/wulczer/txpostgres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wulczer%2Ftxpostgres/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266041680,"owners_count":23867944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-07T23:03:16.937Z","updated_at":"2026-02-16T13:23:21.396Z","avatar_url":"https://github.com/wulczer.png","language":"Python","readme":"This is txpostgres is a library for accessing a PostgreSQL_ database from the Twisted_\nframework. It builds upon asynchronous features of the Psycopg_ database\nlibrary, which in turn exposes the asynchronous features of libpq_, the\nPostgreSQL C library.\n\nIt requires a version of Psycopg that includes support for `asynchronous\nconnections`_ (versions 2.2.0 and later) and a reasonably recent Twisted (it\nhas been tested with Twisted 10.2 onward). Alternatively, psycopg2cffi_ or\npsycopg2-ctypes_ can be used in lieu of Psycopg.\n\ntxpostgres tries to present an interface that will be familiar to users of both\nTwisted and Psycopg. It features a Cursor_ wrapper class that mimics the\ninterface of a `Psycopg cursor`_ but returns Deferred_ objects. It also provides\na Connection_ class that is meant to be a drop-in replacement for Twisted's\n`adbapi.Connection`_ with some small differences regarding connection\nestablishing.\n\nThe main advantage of txpostgres over Twisted's built-in database support is\nnon-blocking connection building and complete lack of thread usage.\n\nIt runs on Python 2.6, 2.7, 3.4, 3.5 and PyPy_.\n\nIf you got txpostgres as a source tarball, you can run the automated test suite\nand install the library with::\n\n  tar xjf txpostgres-x.x.x.tar.bz2\n  cd txpostgres-x.x.x\n  trial test\n  sudo python setup.py install\n\nAlternatively, just install it from PyPI_::\n\n  pip install txpostgres\n\nThe library is distributed under the MIT License, see the LICENSE file for\ndetails. You can contact the author, Jan Urbański, at wulczer@wulczer.org. Feel\nfree to download the source_, file bugs in the `issue tracker`_ and consult the\ndocumentation_\n\n.. _PostgreSQL: http://www.postgresql.org/\n.. _Twisted: http://twistedmatrix.com/\n.. _Psycopg: http://initd.org/psycopg/\n.. _Python: http://www.python.org/\n.. _libpq: http://www.postgresql.org/docs/current/static/libpq-async.html\n.. _`asynchronous connections`: http://initd.org/psycopg/docs/advanced.html#async-support\n.. _psycopg2cffi: https://github.com/chtd/psycopg2cffi\n.. _psycopg2-ctypes: http://pypi.python.org/pypi/psycopg2ct\n.. _Cursor: http://wulczer.github.com/txpostgres/txpostgres.html#txpostgres.Cursor\n.. _Psycopg cursor: http://initd.org/psycopg/docs/cursor.html#cursor\n.. _Deferred: http://twistedmatrix.com/documents/current/api/twisted.internet.defer.Deferred.html\n.. _Connection: http://wulczer.github.com/txpostgres/txpostgres.html#txpostgres.Connection\n.. _adbapi.Connection: http://twistedmatrix.com/documents/current/api/twisted.enterprise.adbapi.Connection.html\n.. _PyPy: http://pypy.org/\n.. _PyPI: http://pypi.python.org/pypi/txpostgres\n.. _source: https://github.com/wulczer/txpostgres\n.. _issue tracker: https://github.com/txpostgres/issues\n.. _documentation: http://txpostgres.readthedocs.org/\n\n.. image:: https://secure.travis-ci.org/wulczer/txpostgres.png?branch=master\n","funding_links":[],"categories":["Database Drivers","Python","Awesome Python"],"sub_categories":["Database Drivers"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwulczer%2Ftxpostgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwulczer%2Ftxpostgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwulczer%2Ftxpostgres/lists"}