python-troveclient
Client library for OpenStack DBaaS API
What it is and what it does
python-troveclient is the official Python client for OpenStack Trove, OpenStack's database-as-a-service component. It provides both a programmatic API (the troveclient module) and a command-line interface (trove command) for managing database instances, backups, and configurations on OpenStack clouds. The package implements the full Trove API surface and integrates with OpenStack's authentication and identity services through keystoneauth1.
The package is designed for operators, developers, and automation tools that need to provision, configure, and manage databases through OpenStack. It depends on the broader OpenStack client ecosystem (osc-lib, python-openstackclient, keystoneauth1) and uses standard OpenStack patterns for authentication, service discovery, and API interaction. It supports Python 3.9 through 3.12.
Use it for:
- Automate database instance provisioning and lifecycle management in OpenStack environments.
- Build monitoring or management dashboards that query Trove database instances and their status.
- Integrate database operations into infrastructure-as-code or orchestration workflows using the Python API.
- Manage database backups, restores, and configurations programmatically across an OpenStack deployment.
- Extend OpenStack CLI tooling with custom database management commands via the trove command-line interface.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library and command-line tool for the OpenStack Trove database-as-a-service API, implementing 100% of the API surface for database provisioning and management.
Yes, if you are working with OpenStack Trove or managing databases within an OpenStack deployment. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is the canonical client for the Trove API. Not relevant for non-OpenStack database management.
Install
python-troveclient on PyPI
pip
pip install python-troveclientuv
uv add python-troveclientpoetry
poetry add python-troveclientInstalling python-troveclient
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance status with a recent release (168 days ago). Depends on 11 runtime packages including keystoneauth1 and python-openstackclient, which are standard OpenStack ecosystem components.
License in practice
Licensed under Apache License 2.0 with permissive treatment, allowing commercial and private use without restriction. Consistent with the broader OpenStack project licensing model.
Quickstart
pip install python-troveclient
from troveclient import client
trove = client.Client('1.0', session=keystone_session)
trove.instances.list()
Requires an authenticated OpenStack Keystone session; typically used within an OpenStack deployment or with credentials to an OpenStack cloud.
Verify before relying
- Whether the package is actively maintained by OpenStack or community-driven post-release.
- Specific Trove API version compatibility guarantees across OpenStack releases.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 11 — pbr, PrettyTable, requests, oslo.i18n, oslo.utils, keystoneauth1, python-swiftclient, python-mistralclient, osc-lib, python-openstackclient, stevedore |
| Maintenance | actively maintained — 168 days since the last release |
| First released | |
| Downloads | 94,670/month — #13,315 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_troveclient-8.10.0-py3-none-any.whl
Tags
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object…
permissive · top 100 on PyPI
psycopg2-binarypsycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
alembicAlembic generates and manages database schema…
permissive · top 1,000 on PyPI
weaviate-clientA Python client library for connecting to and…
permissive · top 1,000 on PyPI
databricks-sql-connectorA Python client library that connects to…
permissive · top 1,000 on PyPI
psycopgPsycopg 3 is a PostgreSQL database adapter for…
copyleft · top 1,000 on PyPI
python-ironicclientPython client library and CLI for the OpenStack…
permissive · top 15,000 on PyPI
python-swiftclientPython client library for OpenStack Object…
permissive · top 15,000 on PyPI
python-designateclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-novaclientPython bindings to the OpenStack Compute API,…
permissive · top 15,000 on PyPI
python-cinderclientPython bindings and command-line interface to…
permissive · top 15,000 on PyPI
python-magnumclientPython bindings and command-line tool for the…
permissive · top 15,000 on PyPI
python-glanceclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-heatclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-manilaclientProvides Python bindings and a command-line…
permissive · top 15,000 on PyPI
osc-libosc-lib provides a shared library of common…
permissive · top 5,000 on PyPI