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.3.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for python_glowplug-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09551a9a43af9f997415d39c015a63e2bb471950cd7f0dd5ace65af2b6033df |
|
MD5 | b7d9113ca30f38d0452c8035f87e6fd2 |
|
BLAKE2b-256 | 3540f7d69efe85d9fa0fd457e9f5913ec43f58ad31f4fd22438781e1a5d5d173 |