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 details)

Uploaded Source

Built Distribution

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

File details

Details for the file metapensiero.sqlalchemy.proxy-6.0.dev0.tar.gz.

File metadata

  • Download URL: metapensiero.sqlalchemy.proxy-6.0.dev0.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for metapensiero.sqlalchemy.proxy-6.0.dev0.tar.gz
Algorithm Hash digest
SHA256 383822f2e391beed38e1fb47a4c7c24d9873527b0ab57c3075012d0a3cb23bdb
MD5 7f13656bc7ca6995455e8efa133f211a
BLAKE2b-256 9bfdb0809d4368b4dc417fa180e63a5ea0fb04976ff75d0cebdbf3dcd76a320b

See more details on using hashes here.

File details

Details for the file metapensiero.sqlalchemy.proxy-6.0.dev0-py3-none-any.whl.

File metadata

  • Download URL: metapensiero.sqlalchemy.proxy-6.0.dev0-py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for metapensiero.sqlalchemy.proxy-6.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 d21291ceed17144812b39e55571c7e24dde3929cdbe8021555c0172c3e2f832e
MD5 6ab8ee1407d9f849c85fd1f3c2838489
BLAKE2b-256 365ab6466955f4324d7b5c22a2b85758ffb4d85acea54c3a7c5525709d5707ae

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