Skip to main content

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.6

  • added “close_all_connections” function in ztfy.alchemy.engine module. This function should be called in any scheduler task in an after-commit hook to be sure that all databases connections are correctly closed when the task ends

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

Release files for ztfy.alchemy 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ztfy.alchemy 0.3.6
File Size Uploaded
ztfy.alchemy-0.3.6.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ztfy.alchemy 0.3.6
File Interpreter ABI Platform
ztfy.alchemy-0.3.6-py2.7.egg Legacy Egg format - - Details

Total release size: 57.2 kB

Release files / ztfy.alchemy-0.3.6.tar.gz

Download URL ztfy.alchemy-0.3.6.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
685b2af71d1176c242f651a0f8275858e139152f03caec15964f7e7bf536d6c4
BLAKE2b-256 checksum
How to use checksums
23eac97aac145565781d117947e55de775315fbcfd49a985c4bedb957635cebc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ztfy.alchemy-0.3.6-py2.7.egg

Download URL ztfy.alchemy-0.3.6-py2.7.egg
Size 41.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
67eae0b9dd43e8166b4b6a96936f41695ca0dfbccf3eb7df468633158f997a54
BLAKE2b-256 checksum
How to use checksums
1a286ad24ddff985f1816fc42f71639244b4c1f7bbb07110f2a1a6280a916685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page