skillfed

python-troveclient

Client library for OpenStack DBaaS API

python-troveclient v8.10.0 94.7K downloads/30d#13,315 on PyPI
Permissive license Active released

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-troveclient

uv

uv add python-troveclient

poetry

poetry add python-troveclient

Installing 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

Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Tags

openstack trove clientdatabase as a service api clientopenstack dbaas pythontrove command line toolopenstack database managementtrove python bindingsopenstack database provisioning
openstackdatabase-clientcloud-infrastructure

More Front-Ends packages

SQLAlchemy

SQLAlchemy is a Python SQL toolkit and Object…

permissive · top 100 on PyPI

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

alembic

Alembic generates and manages database schema…

permissive · top 1,000 on PyPI

weaviate-client

A Python client library for connecting to and…

permissive · top 1,000 on PyPI

databricks-sql-connector

A Python client library that connects to…

permissive · top 1,000 on PyPI

psycopg

Psycopg 3 is a PostgreSQL database adapter for…

copyleft · top 1,000 on PyPI

python-ironicclient

Python client library and CLI for the OpenStack…

permissive · top 15,000 on PyPI

python-swiftclient

Python client library for OpenStack Object…

permissive · top 15,000 on PyPI

python-designateclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-novaclient

Python bindings to the OpenStack Compute API,…

permissive · top 15,000 on PyPI

python-cinderclient

Python bindings and command-line interface to…

permissive · top 15,000 on PyPI

python-magnumclient

Python bindings and command-line tool for the…

permissive · top 15,000 on PyPI

python-glanceclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-heatclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-manilaclient

Provides Python bindings and a command-line…

permissive · top 15,000 on PyPI

osc-lib

osc-lib provides a shared library of common…

permissive · top 5,000 on PyPI