Skip to main content

SQLAlchemy integration package for Zope3

Project description

What is ztfy.alchemy ?

ZTFY.alchemy is a Zope3 package which can be used to connect Zope3 applications with SQLAlchemy.

Main features include :

  • integration of SQLAlchemy transactions with Zope3 transaction manager

  • register PostgreSQL geometric data types (PostGIS) through GeoTypes package.

Most code fragments are based on zope.sqlalchemy, z3c.sqlalchemy and z3c.zalchemy elements and source codes, except for elements handling PostGIS data types..

How to use ztfy.alchemy ?

#TODO: To be written…

Changelog

0.3.5

  • replace “@listens_for” decorator with “listen” calls in connections events listeners

0.3.4

  • added connections cleaning thread to invalidate connections which are still unused five minutes after begin checked-in to connections pool

0.3.3

  • small changes in session management with a new argument allowing to create a session without integrating it in the Zope transaction’s scoped session

  • corrected parent’s call in GeometryLINESTRING constructor

0.3.2

  • small changes in session management

  • remove thread-local sessions store

0.3.1

  • handle aliases in session management via new getSession() function “alias” argument

0.3.0

  • add new getUserSession function which can accept an existing session as input argument

  • removed GeoTypes dependency

0.2.5

  • changed package source layout

0.2.4

  • added SQLAlchemy engines vocabulary

0.2.3

  • updated package dependencies

0.2.2

  • changed import of threading.local module

0.2.1

  • merged updates from z3c.zalchemy parent package

0.2

  • switched to ZTK-1.1.2

0.1.1

  • add “pool_recycle” attribute to IEngineDirective and IAlchemyEngineUtility interfaces

  • use properties in AlchemyEngineUtility

  • updated locales

0.1

  • initial release

Project details


Download files

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

Source Distribution

ztfy.alchemy-0.3.5.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ztfy.alchemy-0.3.5-py2.7.egg (40.9 kB view details)

Uploaded Egg

File details

Details for the file ztfy.alchemy-0.3.5.tar.gz.

File metadata

  • Download URL: ztfy.alchemy-0.3.5.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ztfy.alchemy-0.3.5.tar.gz
Algorithm Hash digest
SHA256 fbcfc9919992dc959f78000aae0a965b8a4c0ba1b477373289b74f8bc4e55123
MD5 cc2ca30a3b0237f85e4b1e3ac5ec661b
BLAKE2b-256 2a683a680200a7dca6f433f71508b28b5609a99568271ba228106f9f20f13ee9

See more details on using hashes here.

File details

Details for the file ztfy.alchemy-0.3.5-py2.7.egg.

File metadata

File hashes

Hashes for ztfy.alchemy-0.3.5-py2.7.egg
Algorithm Hash digest
SHA256 a23d3ff43c3b7effefe27137e427efde087052799f3b7b19ec904128dc29bc7b
MD5 71274704a4834d87a99421a6698b7e7f
BLAKE2b-256 152309a197c88093070f3cdb49d440ee4d00703e58cdc984ca3abad7c4434841

See more details on using hashes here.

Supported by

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