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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_glowplug-0.3.11-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file python_glowplug-0.3.11.tar.gz.

File metadata

  • Download URL: python_glowplug-0.3.11.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/24.1.0

File hashes

Hashes for python_glowplug-0.3.11.tar.gz
Algorithm Hash digest
SHA256 456d37036a8a5c38b38ea97d2b0701039593e2069bfc9848f3ec98fd524a5fd2
MD5 015910abd56a9f7b8d2b927009558957
BLAKE2b-256 88c2beab02068e85ca4c73b021c8f57291bcd657a4e44f4dd6f811f15c51c485

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_glowplug-0.3.11-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/24.1.0

File hashes

Hashes for python_glowplug-0.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 79b03b2a5edebb94f1fbed47f7613142a3a679446f1af952f95087ec7796dd38
MD5 7cee38c87c231ccbe74f276aa5755929
BLAKE2b-256 4ed9fb9e929635e2bce5e5c9f0aee2e4766f7b0e3b0f17b25683ea78c765c321

See more details on using hashes here.

Supported by

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