Skip to main content

Expose SQLAlchemy's queries and their metadata to a webservice

Project description

Version:
5
Author:

Lele Gaifax <lele@metapensiero.it>

license:

GPLv3

This package contains a few utilities to make it easier applying some filtering to a stock query and obtaining the resultset in various formats.

See latest documentation at https://metapensierosqlalchemyproxy.readthedocs.io/en/latest/

Tests suite

The tests suite is based on tox and pytest: to run it simply execute

$ make check

The PostgreSQL unit requires an existing database called mp_sa_proxy_test with the hstore extension, and that the current user can access it without password:

$ createdb mp_sa_proxy_test
$ psql -c "create extension hstore;" mp_sa_proxy_test

Changes

6.0.dev0 (2021-10-17)

  • Target Python 3.9+

  • Do not emit length=1 in the metadata of unlimited text fields

  • Drop the asyncio variant of the proxies: if/when needs arise I shall reimplement them on top of new SA 1.4+ functionality

Previous changes are here.

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

metapensiero.sqlalchemy.proxy-6.0.dev0.tar.gz (44.6 kB view hashes)

Uploaded Source

Built Distribution

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