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.4.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for python_glowplug-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097e8f3b16fcdabebeb45c2482fe8eb3a1047e4a53d371c5af0c93cb2d34bb5d |
|
MD5 | f6c55d76d3b4958c9d27b58ce3725716 |
|
BLAKE2b-256 | fe59c6c0e5fdda07ce3ff3e450179cd40f6f64671962b47db86c9d1825b29831 |