$npx skillfedfor your agent

oslo.db

Oslo Database library

With conditionsPyPI DatabaseReleased Jul 2026467.9K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — oslo_db-18.1.0-py3-none-any.whl
v18.1.0 · released 2026-07-10 · Python >=3.11 · 9 runtime deps: alembic, debtcollector, oslo.i18n, oslo.config, oslo.utils, SQLAlchemy, stevedore, testresources

Yes, if you are building OpenStack services or applications that benefit from its database abstraction patterns. The library is production-stable, actively maintained, has low install friction, and carries a permissive Apache-2.0 license. No known security vulnerabilities. Install only if you need its specific patterns; it is not a general-purpose ORM replacement.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; SQLAlchemy must be installed and configured with a supported database backend.
  • Low install friction with a pure-Python wheel distribution.
  • Active maintenance with a release 35 days ago.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most deployment contexts.

last release 2026-07-10 (35 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 467,937 downloads/mo, #6,496 on PyPI

Verify before relying

pip install oslo.db

from oslo_db.sqlalchemy import models
from sqlalchemy import Column, String

class MyModel(models.ModelBase):
    name = Column(String)
  • Specific database backends supported and any version constraints for each.
  • Whether oslo.db is required for non-OpenStack projects or primarily intended for OpenStack ecosystem use.
  • Performance characteristics or scalability limits for high-throughput database operations.
Same gist for agents: .md · .json

What it is and what it does

oslo.db is an OpenStack library that abstracts database connectivity and provides common patterns for ORM-based applications. It wraps SQLAlchemy and alembic to offer a unified interface for database operations across different backends, handling session management, migrations, and helper utilities that OpenStack services rely on.

The library is production-stable and actively maintained, with support for Python 3.11, 3.12, 3.13, and 3.14. It's primarily designed for OpenStack projects but can be used by any application needing structured database abstraction with alembic-based schema management. Its runtime dependencies are well-established libraries (SQLAlchemy, alembic, oslo.config, stevedore), making it a straightforward addition to projects already using those tools.

Use it for

  • Building OpenStack services that need consistent database connectivity patterns and schema versioning.
  • Abstracting database backend differences in multi-tenant or multi-database applications using SQLAlchemy.
  • Managing database migrations in large projects via alembic with oslo.db's helper utilities.
  • Implementing session and connection pooling strategies for OpenStack-compatible applications.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building OpenStack services or applications that benefit from its database abstraction patterns.

The library is production-stable, actively maintained, has low install friction, and carries a permissive Apache-2.0 license. No known security vulnerabilities. Install only if you need its specific patterns; it is not a general-purpose ORM replacement.

Install

oslo-db on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with a release 35 days ago. Depends on well-established libraries including SQLAlchemy, alembic, and oslo.config.

Requires Python 3.11 or later; SQLAlchemy must be installed and configured with a supported database backend.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most deployment contexts.

Quickstart

pip install oslo.db

from oslo_db.sqlalchemy import models
from sqlalchemy import Column, String

class MyModel(models.ModelBase):
    name = Column(String)

Verify before relying

  • Specific database backends supported and any version constraints for each.
  • Whether oslo.db is required for non-OpenStack projects or primarily intended for OpenStack ecosystem use.
  • Performance characteristics or scalability limits for high-throughput database operations.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
alembicdebtcollectoroslo.i18noslo.configoslo.utilsSQLAlchemystevedoretestresourcestestscenarios
MaintenanceActively maintained 35 days since the last release
First released
Downloads467,937 / month, #6,496 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPython

Evidence: oslo_db-18.1.0-py3-none-any.whl

Tags

Capabilities
openstack database librarysqlalchemy orm utilitiesdatabase migration managementmulti-backend database abstractionopenstack db connectivityalembic database migrationsoslo database patterns
Topics
openstacksqlalchemy-patternsschema-migration

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 › “openstack database library”

  • oslo.dboslo.db provides database connectivity and ORM utilities for…
  • python-troveclientPython client library and command-line tool for the OpenStack Trove…
  • os-vifos-vif provides a library for managing the lifecycle of virtual…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

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.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

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.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

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.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

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.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also oslo.upgradecheck · oslo.vmware · oslo.cache · oslo.log · oslo.messaging · oslo.service · oslo.config · oslo.middleware · oslo.policy · oslotest