A collection of utilities for common DB maintenance operations in SQLAlchemy
Project description
Glowplug
A consistent interface for maintenance operations on database engines not covered by SQLAlchemy.
Chooses opinionated drivers with both async + sync support, as well as support for Alembic.
Supported operations
exists
- Check if database existscreate
- Create a new databaseinit
- Create all tables in the given database, optionally dropping firstlist_tables
- List tables in the databaseis_blank_slate
- Check if database is either missing or exists but is emptyalembic
- Run any of the alembic commands on the given database
Supported databases
- SQLite (
aiosqlite
) - Postgres (
asyncpg
) - MS Sql (
pyodbc
andaioodbc
)
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
python_glowplug-0.3.7.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for python_glowplug-0.3.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3062927502529a096b0d2d7da4693bb554b37aa0fc37f054eecae9b90112552e |
|
MD5 | 1df35ef74eca818a63702eb8db4e2581 |
|
BLAKE2b-256 | 7de128c40d777073d3943fe22dd41b85ed0bb69a4a9a1f8c083f8647f4e9232f |