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

  • updated syntax of settings used for dynamic schemas names

  • added support for global schema name replacement using a single alias

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.1.0.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

pyams_alchemy-2.1.0-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyams_alchemy-2.1.0.tar.gz
  • Upload date:
  • Size: 24.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 2cb7986e75f0295eb859987fde98fb5ee4f04140c4a01d4faf3aee7becbc7039
MD5 6df182035dbf7db87bd7028ad1dac9f9
BLAKE2b-256 ebf8e4e127203670aa915ba388e637bd1367a4209c1df4052bf997b40c8bd575

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyams_alchemy-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 026d9975c590f16bc651ff4468f9741b7ec8a578bbc1ee9a7f77ff8aaa830fd5
MD5 9cead6bb710718eb315b8d208db3db1c
BLAKE2b-256 540831e20f81fcc119f65ae4bd28d945d2564f3d3946841e350fd70cb644b860

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