Skip to main content

PyAMS SQLAlchemy extension

Project description

What is PyAMS?

PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.

PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.

All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github. Doctests are available in the doctests source folder.

What is PyAMS SQLAlchemy?

SQLALchemy is a very common ORM package for Python. As PyAMS relies on ZODB connections, this package provides components which can be used to define SQL “sessions” through management interface, which are then integrated into main transactions using a two-phases commit manager.

This package also provides optional features to extend PyAMS_scheduler package with new tasks which can launch SQL commands.

Changelog

2.0.3

  • updated SQLAlchemy columns getter in test form

  • Sonar scanner version reset

2.0.2

  • updated task scheduler interfaces

2.0.1

  • updated modal forms title

2.0.0

  • upgraded to Pyramid 2.0 and SQLAlchemy 2.0

1.4.1

  • added support for Python 3.11

  • updated doctest

1.4.0

  • allow usage of dynamic text formatters into scheduler SQL tasks

1.3.6

  • use new status on scheduler task execution failure

1.3.5

  • PyAMS_security interfaces refactoring

  • added support for Python 3.10

1.3.4

  • handle session commit when query doesn’t return any result

  • updated SQLAlchemy task add/edit forms editor size

  • added doctests

1.3.3

  • use new context base add action

1.3.2

  • renamed permission constant

1.3.1

  • use IUniqueID adapter “oid” value instead of adapter when creating new engine

  • updated “back” link target in engines container view

1.3.0

  • added SQLAlchemy connections manager label adapter

  • updated add and edit forms title

  • updated package include scan

1.2.3

  • use IObjectLabel interface instead of ITableElementName

1.2.2

  • updated forms AJAX renderers

  • Pylint cleanups

1.2.1

  • added missing “context” argument to permission check

  • updated add menus registration for last release of PyAMS_zmi package

1.2.0

  • added option to disable two-phases commit on any SQLALchemy engine

  • added Pyramid setting to manage connections management thread; this setting can also be used to disable this thread completely

1.1.0

  • removed support for Python < 3.7

1.0.0

  • 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

pyams_alchemy-2.0.3.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

pyams_alchemy-2.0.3-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

Details for the file pyams_alchemy-2.0.3.tar.gz.

File metadata

  • Download URL: pyams_alchemy-2.0.3.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for pyams_alchemy-2.0.3.tar.gz
Algorithm Hash digest
SHA256 770fb4c7e3dd776102548bb0a4e4026a3454919a39903d3a459bb7ee34076bb2
MD5 38eb2e0e9baa5c7627c45419f5f12dc3
BLAKE2b-256 110b444f93fadfdb8670111d3f6f8f9405ab4b3f1e272f83945ef25a5c2d7d20

See more details on using hashes here.

File details

Details for the file pyams_alchemy-2.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pyams_alchemy-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7efd03ebfc4fc7aa5c792bbf830f1f5c78e71155e39e2f12718c6695750bfe17
MD5 5a4c609b18266de0261fa74952bdec6b
BLAKE2b-256 c3243bc41a81f364d32a666073a86ba74a1946c13d59b360b0b6d76a7b8b6420

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