Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install pg-proboscis

How to install pg_proboscis

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pg-proboscis
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
1.0.5 Available View build log
Linux (32-bit)
1.0.5 Available View build log
Linux (64-bit)
1.0.5 Available View build log
Lastest release
version 1.0.5 on Jan 5th, 2011

pg_proboscis is a pg_pqueue based driver for PostgreSQL. It provides a GreenTrunk and a DB-API 2.0 interface to PostgreSQL databases.


  • postgresql.interface.proboscis.tracenull
  • postgresql.interface.proboscis.greentrunk
  • postgresql.interface.proboscis.dbapi2
  • postgresql.interface.proboscis.python
  • pb_python (console script for postgresql.interface.proboscis.python)


Run a console with a connection:

$ pb_python -h localhost -U pgsql -d postgres

System Message: ERROR/3 (<string>, line 19)

Inconsistent literal block quoting.

Python 2.5.1 (r251:54863, Dec 8 2007, 09:22:18) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. (SavingConsole) >>> gtx <postgresql.interface.proboscis.tracenull.GreenTrunk_Connection[pq://pgsql@localhost:5432/postgres] T.0> >>>

Make a GreenTrunk connection manually:

>>> import postgresql.interface.proboscis.greentrunk as gt
>>> con = gt.connector(user = 'pgsql', host = 'localhost', port = 5432, database = 'postgres')
>>> c=con()

Make a DB-API 2.0 connection manually:

>>> import postgresql.interface.proboscis.dbapi2 as db
>>> c=db.connect(user = 'pgsql', host = 'localhost', port = 5432, database = 'postgres')

Notably, DSN strings are not directly supported. However, if you want connection strings, the postgresql.utility.client.iri module has means for parsing PQ IRIs and the postgresql.utility.client.dsn module has means for parsing DSNs.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.