Metadata-Version: 2.1
Name: python-glowplug
Version: 0.3.6
Summary: A collection of utilities for common DB maintenance operations in SQLAlchemy
Home-page: https://github.com/jnu/python-glowplug
License: MIT
Author: Joe Nudell
Author-email: jnudell@hks.harvard.edu
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: alembic (>=1.5,<2.0)
Requires-Dist: pydantic (>=2,<3)
Requires-Dist: sqlalchemy (>=2,<3)
Project-URL: Repository, https://github.com/jnu/python-glowplug
Description-Content-Type: text/markdown

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`)

