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`)
Raw data
{
"_id": null,
"home_page": "https://github.com/jnu/python-glowplug",
"name": "python-glowplug",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Joe Nudell",
"author_email": "jnudell@hks.harvard.edu",
"download_url": "https://files.pythonhosted.org/packages/6e/1c/a38486957cd393cc551c7f028234e6870f44cbdfb3e554a7f9d5814526ae/python_glowplug-0.3.9.tar.gz",
"platform": null,
"description": "Glowplug\n===\n\nA consistent interface for maintenance operations on database engines not covered by SQLAlchemy.\n\nChooses opinionated drivers with both async + sync support, as well as support for Alembic.\n\n## Supported operations\n\n - `exists` - Check if database exists\n - `create` - Create a new database\n - `init` - Create all tables in the given database, optionally dropping first\n - `list_tables` - List tables in the database\n - `is_blank_slate` - Check if database is either missing or exists but is empty\n - `alembic` - Run any of the alembic commands on the given database\n\n## Supported databases\n\n - SQLite (`aiosqlite`)\n - Postgres (`asyncpg`)\n - MS Sql (`pyodbc` and `aioodbc`)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A collection of utilities for common DB maintenance operations in SQLAlchemy",
"version": "0.3.9",
"project_urls": {
"Homepage": "https://github.com/jnu/python-glowplug",
"Repository": "https://github.com/jnu/python-glowplug"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9f3ab14c6b2b4075ffa7ba14e65123d571b0268c21567f8e3850c58f65a2b37a",
"md5": "77b19e7615ec68e29a2329ff2d5fb958",
"sha256": "957d29180ddf8ba895eb53f8c0fc98a3e433fb0ca362f8a546ebf0a6a436c928"
},
"downloads": -1,
"filename": "python_glowplug-0.3.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "77b19e7615ec68e29a2329ff2d5fb958",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 7521,
"upload_time": "2024-08-09T00:06:48",
"upload_time_iso_8601": "2024-08-09T00:06:48.296596Z",
"url": "https://files.pythonhosted.org/packages/9f/3a/b14c6b2b4075ffa7ba14e65123d571b0268c21567f8e3850c58f65a2b37a/python_glowplug-0.3.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6e1ca38486957cd393cc551c7f028234e6870f44cbdfb3e554a7f9d5814526ae",
"md5": "1d8f94ef8f1ed7788a6d397bbd1fcef3",
"sha256": "0c52924d00531a1741f02c530b65767870d52b8575cd8875f546051252a3acdf"
},
"downloads": -1,
"filename": "python_glowplug-0.3.9.tar.gz",
"has_sig": false,
"md5_digest": "1d8f94ef8f1ed7788a6d397bbd1fcef3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 5365,
"upload_time": "2024-08-09T00:06:49",
"upload_time_iso_8601": "2024-08-09T00:06:49.403048Z",
"url": "https://files.pythonhosted.org/packages/6e/1c/a38486957cd393cc551c7f028234e6870f44cbdfb3e554a7f9d5814526ae/python_glowplug-0.3.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-09 00:06:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jnu",
"github_project": "python-glowplug",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "python-glowplug"
}