semvec/pypi-packages huggingface dataset:
python-glowplug 0.3.12
A collection of utilities for common DB maintenance operations in SQLAlchemy
License: MIT
Requires Python: <4.0,>=3.9

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 exists
 - `create` - Create a new database
 - `init` - Create all tables in the given database, optionally dropping first
 - `list_tables` - List tables in the database
 - `is_blank_slate` - Check if database is either missing or exists but is empty
 - `alembic` - Run any of the alembic commands on the given database

## Supported databases

 - SQLite (`aiosqlite`)
 - Postgres (`asyncpg`)
 - MS Sql (`pyodbc` and `aioodbc`)