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 (
pyodbcandaioodbc)
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.9.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for python_glowplug-0.3.9-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 957d29180ddf8ba895eb53f8c0fc98a3e433fb0ca362f8a546ebf0a6a436c928 |
|
| MD5 | 77b19e7615ec68e29a2329ff2d5fb958 |
|
| BLAKE2b-256 | 9f3ab14c6b2b4075ffa7ba14e65123d571b0268c21567f8e3850c58f65a2b37a |