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.12.tar.gz (5.7 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.12-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_glowplug-0.3.12.tar.gz
  • Upload date:
  • Size: 5.7 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.12.tar.gz
Algorithm Hash digest
SHA256 fb35cd0ad520c13d329588545b29f7015285d928ed8a7880eceb87961e0f92d1
MD5 e8407a8b71d192932b6954f6ee6735bd
BLAKE2b-256 e94a15e8f40489253b77ab6aabc1becdde2d548a566618e807daf7245dd4a6f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_glowplug-0.3.12-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f27fa781e3e2cfcb4fac8bc2e3e02c5ba9065ae22e454bb354e3b0e153931312
MD5 925782a771256d2afa54ff0e59e975b3
BLAKE2b-256 90e4e8b0566b3cbab748ba4b314fc7729c1c8a2f9dc31ab6052045559469913c

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