Skip to main content

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

Project details


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.10.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

python_glowplug-0.3.10-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

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

Hashes for python_glowplug-0.3.10.tar.gz
Algorithm Hash digest
SHA256 f386f1213b29b042dad81c9f6170995352d3407d24626c2530e1703115e89028
MD5 47cd19d9bae1ec52651520093db0f138
BLAKE2b-256 e9f378dfb582cfebcd372fdf677d839441b58b03a581059eedcfb6c3d92d32d8

See more details on using hashes here.

File details

Details for the file python_glowplug-0.3.10-py3-none-any.whl.

File metadata

File hashes

Hashes for python_glowplug-0.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f1398be4c6de89cead7f7390e34e609b20b79df99c14d84e7162519f4102644b
MD5 d4157ed39ce387c03d693d8a6bf344c2
BLAKE2b-256 587691eba621d0b434842a6e83333b5ad8d08a53b807d6e85b9123e711473a58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page