A framework-independent modern wrapper for SQLAlchemy 2 & Alembic.
Project description
sqla-wrapper
A friendly wrapper for modern SQLAlchemy (v1.4 or later) and Alembic.
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.
Resources
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.dev3.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for sqla_wrapper-5.0.0.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ca106d2b9e89efc040f80af60373cf5c180ef7e794dae5d1cee0d0bbd0533a6 |
|
MD5 | 0d34c6495ff6de5f751fbbc426d73639 |
|
BLAKE2b-256 | 5c8a1ce442e97d079e33a6834fc023f7338b0720dc278839e7985ecd9a2ed7d1 |