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.5.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for python_glowplug-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dae6afc285320d766d9a87824d51b2137bbd9bb1fa6de1b69160101e5461d790 |
|
MD5 | 5bc87368fcb69d7ecd0a95f12839d64a |
|
BLAKE2b-256 | 8ffd548e321500f4cb6850e6df813e35299b582c8613fab9d6aa4cd947761632 |