A framework-independent modern wrapper for SQLAlchemy & Alembic.
Project description
A friendly wrapper for modern SQLAlchemy (v1.4 or later) and Alembic.
Documentation: https://jpsca.github.io/sqla-wrapper/
Includes:
-
A
SQLAlchemy
wrapper, that does all the SQLAlchemy setup and gives you:- A preconfigured scoped session.
- A model baseclass including some helper methods.
- A helper for performant testing with a real database
-
An
Alembic
wrapper that loads the config from your application instead of an ini file. -
A
sa
helper module, that imports all the functions and classes fromsqlalchemy
andsqlalchemy.orm
, so you don't need to repeat those imports everywhere.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqla-wrapper-5.0.0.dev5.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for sqla_wrapper-5.0.0.dev5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287a68e19b7ca45e3971d57728d81182d381a884c2ac1934c64868db0bead827 |
|
MD5 | ec9166df43666718eb58fb965fcddfc2 |
|
BLAKE2b-256 | c811762ef634988144ace91e9d9b6dcc9fe12202a45218424eba0ac9fe824c96 |