sqlbag
various snippets of SQL-related boilerplate
Decision gist · record as of 2026-08-14
No—not recommended for new projects. The package is abandoned (no updates since 2021-04-01), carries Alpha status, and its license is unclear. While it has low install friction and no known vulnerabilities, the lack of maintenance means it will not keep pace with SQLAlchemy or Python version changes. For new work, prefer actively maintained alternatives or write the boilerplate directly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Python version support is unspecified; compatibility with modern Python and SQLAlchemy versions is unknown given the package's abandoned status.
- Installation is straightforward with low friction, but the package is abandoned as of 2021 with no updates since its latest release.
- The last commit was in March 2023, suggesting minimal maintenance.
License · maintenance · safety
(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available. Before using this package in production or distribution, verify the actual license terms from the repository.
last release 2021-04-01 (1961 days) · last repo commit 2023-03-19 · 17 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 258,130 downloads/mo, #8,431 on PyPI
Alternatives
Verify before relying
pip install sqlbag
import sqlbag
# Use sqlbag helpers for database connections, Flask setup, or temporary test databases- Actual license terms—license_treatment is unclear and no SPDX identifier is present.
- Compatibility with current SQLAlchemy versions given the package has not been updated since 2021-04-01.
- Whether the runtime dependencies (six, sqlalchemy, packaging, pathlib) are pinned to specific versions or ranges.
What it is and what it does
sqlbag is a collection of convenience functions and helpers built on top of SQLAlchemy to reduce boilerplate when working with databases. It provides utilities for managing database connections, setting up Flask integration, working with the ORM, and creating temporary databases for integration tests. The package bundles these common patterns into a single import so you don't have to rewrite them across projects.
The package depends on six, sqlalchemy, packaging, and pathlib, and can be extended with optional database drivers (psycopg2 for PostgreSQL, pymysql for MySQL/MariaDB) via install-time bundles. However, it has been abandoned since its latest release on 2021-04-01 with no active maintenance, and carries Alpha status, meaning it may not work reliably with modern versions of its dependencies.
Use it for
- Set up Flask applications with SQLAlchemy ORM without writing repetitive connection and session boilerplate.
- Create and tear down temporary test databases for integration tests that need a real database backend.
- Manage database connections across multiple projects using a shared set of helpers.
- Quickly prototype database-backed applications by reusing common ORM and connection patterns.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—not recommended for new projects.
The package is abandoned (no updates since 2021-04-01), carries Alpha status, and its license is unclear. While it has low install friction and no known vulnerabilities, the lack of maintenance means it will not keep pace with SQLAlchemy or Python version changes. For new work, prefer actively maintained alternatives or write the boilerplate directly.
Install
sqlbag on PyPI
Before you install
Installation is straightforward with low friction, but the package is abandoned as of 2021 with no updates since its latest release. The last commit was in March 2023, suggesting minimal maintenance. It carries Alpha status and may not be compatible with modern SQLAlchemy or Python versions.
Python version support is unspecified; compatibility with modern Python and SQLAlchemy versions is unknown given the package's abandoned status.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available. Before using this package in production or distribution, verify the actual license terms from the repository.
Quickstart
pip install sqlbag
import sqlbag
# Use sqlbag helpers for database connections, Flask setup, or temporary test databases
Verify before relying
- Actual license terms—license_treatment is unclear and no SPDX identifier is present.
- Compatibility with current SQLAlchemy versions given the package has not been updated since 2021-04-01.
- Whether the runtime dependencies (six, sqlalchemy, packaging, pathlib) are pinned to specific versions or ranges.
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagessixsqlalchemypackagingpathlib |
| Maintenance | Abandoned 1,961 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 258,130 / month, #8,431 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - Alpha |
Evidence: sqlbag-0.1.1617247075-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sqlalchemy boilerplate utilities”
- sqlbagsqlbag provides a collection of SQLAlchemy utilities and helpers for…
- SQLAlchemy-UtilsProvides utility functions, custom data types, and helpers that…
- fastapi-restfulProvides utilities and base classes to reduce boilerplate when…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also Flask-SQLAlchemy · Flask-Testing · SQLAlchemy-Utils · SQLAlchemy · mixer · sqlalchemy-mate · sqlalchemy-cockroachdb · sqlalchemy-views · sqltap · sqlalchemy-mixins