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
Built Distribution
File details
Details for the file python_glowplug-0.3.10.tar.gz
.
File metadata
- Download URL: python_glowplug-0.3.10.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f386f1213b29b042dad81c9f6170995352d3407d24626c2530e1703115e89028 |
|
MD5 | 47cd19d9bae1ec52651520093db0f138 |
|
BLAKE2b-256 | e9f378dfb582cfebcd372fdf677d839441b58b03a581059eedcfb6c3d92d32d8 |
File details
Details for the file python_glowplug-0.3.10-py3-none-any.whl
.
File metadata
- Download URL: python_glowplug-0.3.10-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.6 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1398be4c6de89cead7f7390e34e609b20b79df99c14d84e7162519f4102644b |
|
MD5 | d4157ed39ce387c03d693d8a6bf344c2 |
|
BLAKE2b-256 | 587691eba621d0b434842a6e83333b5ad8d08a53b807d6e85b9123e711473a58 |