1050
Comment:
|
2543
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
licence:: platforms:: |
licence:: BSD-like platforms:: Unix, win32 (Cygwin); a native win32 port is in the works |
Line 15: | Line 15: |
licence:: platforms:: Python versions:: |
licence:: BSD-like platforms:: Unix, win32 Python versions:: 1.5.2 thru 2.2 |
Line 20: | Line 20: |
* Alternative old nonstandard PostgreSQL interface |
|
Line 26: | Line 28: |
licence:: platforms:: |
licence:: GPL platforms:: Unix |
Line 37: | Line 39: |
licence:: platforms:: |
licence:: GPL platforms:: Unix, win32 (beta) |
Line 43: | Line 45: |
* dictfetchone(), dictfetchmany(), dictfechall() methods on the cursor object; these will return dictionaries instead of tuples, so you can access rows by name instead of by index |
|
Line 44: | Line 48: |
* Written for heavily multithreaded applications in mind. |
|
Line 48: | Line 54: |
licence:: platforms:: Python versions:: |
licence:: BSD-like platforms:: Unix, win32 Python versions:: 2.0 thru 2.2 |
Line 53: | Line 59: |
* The fetch methods on cursors return an instances of PgResultSet, which you can use to access rows by index (like in DB-API), dictionary-like or with attributes. This feature can be turned off for a slight performance boost. * Support for PostgreSQL notifications in the low-level API. |
|
Line 72: | Line 81: |
* Good compliance with SQL standards * Supports many SQL features * Foreign keys * Implements all SQL99 join types: inner join, left, right, full outer join, natural join * Subqueries * UNION and UNION ALL, INTERSECT and EXCEPT * Views * Triggers * Support for international character sets, multibyte character encodings, Unicode * Supports many languages for writing server-side functions/procedures and aggregates: Python, C, Perl, Tcl, PL/PgSQL, ... * ACID compliant * Support for rollback * Serializable transaction isolation * Multi-Version Concurrency Control (MVCC) for highly scalable concurrent applications |
|
Line 74: | Line 97: |
* No native Windows version (yet), but there is a Cygwin version. |
Masthead
- URL
- licence
- BSD-like
- platforms
- Unix, win32 (Cygwin); a native win32 port is in the works
DB API 2.0 Drivers
PyGresQL
- URL
- licence
- BSD-like
- platforms
- Unix, win32
- Python versions
- 1.5.2 thru 2.2
Extensions to DB API
- Alternative old nonstandard PostgreSQL interface
Comments
PoPy
- URL
- licence
- GPL
- platforms
- Unix
- Python versions
Extensions to DB API
Comments
psycopg
- URL
- licence
- GPL
- platforms
- Unix, win32 (beta)
- Python versions
Extensions to DB API
- dictfetchone(), dictfetchmany(), dictfechall() methods on the cursor object; these will return dictionaries instead of tuples, so you can access rows by name instead of by index
Comments
- Written for heavily multithreaded applications in mind.
pyPgSQL
- URL
- licence
- BSD-like
- platforms
- Unix, win32
- Python versions
- 2.0 thru 2.2
Extensions to DB API
The fetch methods on cursors return an instances of PgResultSet, which you can use to access rows by index (like in DB-API), dictionary-like or with attributes. This feature can be turned off for a slight performance boost.
- Support for PostgreSQL notifications in the low-level API.
Comments
Other Drivers
driver name
- URL
- licence
- platforms
- Python versions
Programming Model
Comments
Supported Python Applications
Pros
- Good compliance with SQL standards
- Supports many SQL features
- Foreign keys
- Implements all SQL99 join types: inner join, left, right, full outer join, natural join
- Subqueries
- UNION and UNION ALL, INTERSECT and EXCEPT
- Views
- Triggers
- Support for international character sets, multibyte character encodings, Unicode
- Supports many languages for writing server-side functions/procedures and aggregates: Python, C, Perl, Tcl, PL/PgSQL, ...
- ACID compliant
- Support for rollback
- Serializable transaction isolation
- Multi-Version Concurrency Control (MVCC) for highly scalable concurrent applications
Cons
- No native Windows version (yet), but there is a Cygwin version.