Skip to content

Consistent interface for sqlalchemy maintenance operations

License

Notifications You must be signed in to change notification settings

jnu/python-glowplug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Consistent interface for sqlalchemy maintenance operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages