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.8.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for python_glowplug-0.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5e2f8029f8d464866a5a841c2147ccf54c5a2a0a61fa91a6ac122f9201b8074 |
|
MD5 | 875d48768211c293731bf665dee22bc7 |
|
BLAKE2b-256 | 72eeb09d6dd92ba6e1ced77f4e3b752e6ffcdc30cb2c23adcabfdada7206210a |