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.dev2.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for sqla_wrapper-5.0.0.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c578531d5228cee641440f8005526074165aab48e5a6342f28df577f4d961335 |
|
MD5 | 9e1aa0ac9f8e668e88bcebaa13c43cd0 |
|
BLAKE2b-256 | 9e328f6eb41eae1e5afcd280d75e88d351db59dd1dc05d42d2962e63f5779665 |