A framework-independent modern wrapper for SQLAlchemy 2 & 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.dev4.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for sqla_wrapper-5.0.0.dev4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71db5074f76d08cfcd1897d74a633a21cc535b195f8ad26f8252b6718151b9ab |
|
MD5 | 128b0d0606a1c9e9331d8f1c0b23465a |
|
BLAKE2b-256 | d5af8820b17843b81cb15edcf9908cf0736eae3c115a4e5f4d0f6fcd4c1e5b58 |