Skip to main content

Zope bindings for psycopg2.

Project description

ZPsycopgDA – psycopg2 Zope adapter

This is the PostgreSQL adapter for Zope 2 and 3 based on psycopg2.

As of version 2.4.6, ZPsycopgDA has the same content of the ZPsycopgDA module included in Psycopg 2.4.6. Future psycopg2 versions will likely not include ZPsycopgDA, which should be installed separately.

Prerequisites

ZPsycopgDA depends on the psycopg2 module version at least 2.4. Don’t use versions 2.4.2 or 2.4.3: they are not compatible with ZPsycopgDA. Install the latest version available.

Installation

Unfortunately I’m no Zope expert, so these installation instructions are quite approximative. Please contact us if you want to improve them.

  • Make sure to have your Zope lib directory in the $PYTHONPATH. If some command fails with:

    [...]
    File "[...]/ZPsycopgDA/db.py", line 18, in <module>
      from Shared.DC.ZRDB.TM import TM
    ImportError: No module named Shared.DC.ZRDB.TM

    you are probably missing it.

  • Download the ZPsycopgDA package, unpack it and copy the ZPsycopgDA directory into the Products directory of your Zope instance.

  • Alternatively run easy_install ZPsycopgDA or pip install ZPsycopgDA, then symlink or copy the ZPsycopgDA directory from the installed location to the Products directory of your Zope instance.

Contributors

  • Federico Di Georgio: Original Author

  • Daniele Varrazzo: Separate ZPsycopgDA project

  • Rijk Stofberg: Eggifying

Changelog

2.4.6

  • Added all the supported isolation level options

  • Fixed pool bugs (psycopg issues #123, #125, #142)

2.4.4

  • Make this and egg.

Project details


Download files

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

Source Distributions

ZPsycopgDA-2.4.6.zip (24.9 kB view details)

Uploaded Source

ZPsycopgDA-2.4.6.tar.gz (14.1 kB view details)

Uploaded Source

File details

Details for the file ZPsycopgDA-2.4.6.zip.

File metadata

  • Download URL: ZPsycopgDA-2.4.6.zip
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ZPsycopgDA-2.4.6.zip
Algorithm Hash digest
SHA256 e658b267703d30bcc83db98644a2cf06483f48c7634b0bfdf628428fab64f0ed
MD5 c76a0e1c8708154dcf07d1362ea8c432
BLAKE2b-256 7162f0c651d7f6c207d99a14e31a80752aee5e54182b4105086bd21a0f34df53

See more details on using hashes here.

File details

Details for the file ZPsycopgDA-2.4.6.tar.gz.

File metadata

  • Download URL: ZPsycopgDA-2.4.6.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ZPsycopgDA-2.4.6.tar.gz
Algorithm Hash digest
SHA256 644e440e46641dcf9e236f5c24cff0def3a81271ff85aa895dfc0afde42d00b5
MD5 a8bfeb271c0c9783b25a2a774a3c81f9
BLAKE2b-256 a728b5a74123cbcab89b582a2a648c0f303a8bcdb894801ea57637f973bc9a41

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page