azure-mgmt-rdbms
Microsoft Azure Rdbms Management Client Library for Python
What it is and what it does
This is Microsoft's official Python SDK for managing relational database services in Azure. It wraps the Azure management plane APIs for MySQL and PostgreSQL, allowing you to provision, configure, and administer database servers programmatically. The package depends on msrest for HTTP communication, azure-mgmt-core for shared management SDK patterns, and typing-extensions for type hints.
The library is production-stable (Development Status 5) and actively maintained, with recent fixes for compatibility with the latest azure-core. However, the documentation notes that several modules are deprecated: mysql and postgresql single-server modules are being retired by Azure, with users directed to migrate to separate packages. This makes it suitable for managing existing single-server deployments but not recommended for new projects.
Use it for:
- Automate provisioning and teardown of Azure MySQL or PostgreSQL servers as part of infrastructure-as-code workflows.
- Manage database server configurations, backups, and security settings programmatically from Python applications.
- Integrate Azure database administration into CI/CD pipelines or DevOps tooling.
- Query and monitor database server properties and status without manual portal access.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides programmatic management of Azure relational database services (MySQL and PostgreSQL) through the Azure SDK, enabling creation, configuration, and administration of database servers via Python.
Yes, if you need to manage existing Azure single-server MySQL or PostgreSQL deployments from Python. Install with caution for new projects—the package is stable and actively maintained, but Azure is retiring the underlying single-server services. Check whether your use case aligns with the migration path before committing to this library.
Install
azure-mgmt-rdbms on PyPI
pip
pip install azure-mgmt-rdbmsuv
uv add azure-mgmt-rdbmspoetry
poetry add azure-mgmt-rdbmsInstalling azure-mgmt-rdbms
Before you install
Low friction installation with a pure Python wheel. Actively maintained with recent bug fixes (10.1.1 released 2025-11-25); supports Python 3.9+ across current versions. Three lightweight runtime dependencies (msrest, azure-mgmt-core, typing-extensions).
Quickstart
pip install azure-mgmt-rdbms
from azure.mgmt.rdbms.mysql import MySQLManagementClient
from msrest.authentication import BasicAuthentication
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = MySQLManagementClient(subscription_id=sub_id)
Requires Python 3.9+, Azure subscription, and Azure Active Directory credentials configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).
Verify before relying
- Whether the package is suitable for new projects given the deprecation notices for mysql and postgresql modules in favor of separate flexible-server packages.
- Exact scope and completeness of RDBMS operations available through the current stable API.
- How to properly authenticate with msrest and azure-mgmt-core in current usage patterns.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — msrest, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 262 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,713,376/month — #1,704 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_rdbms-10.1.1-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
azure-mgmt-mysqlflexibleserversProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-postgresqlflexibleserversManages Azure PostgreSQL Flexible Server…
unclear · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-webProvides programmatic management of Azure Web…
permissive · top 5,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-mgmt-sqlvirtualmachineManages SQL Server virtual machines in…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-domainregistrationManages Azure domain registrations…
permissive · top 5,000 on PyPI
azure-mgmt-sqlProvides programmatic management of Azure SQL…
permissive · top 5,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI