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.10.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for python_glowplug-0.3.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1398be4c6de89cead7f7390e34e609b20b79df99c14d84e7162519f4102644b |
|
MD5 | d4157ed39ce387c03d693d8a6bf344c2 |
|
BLAKE2b-256 | 587691eba621d0b434842a6e83333b5ad8d08a53b807d6e85b9123e711473a58 |