azure-cli-sql
Microsoft Azure Command-Line Tools SQL Command Module
Decision gist · record as of 2026-08-14
Yes, if you use the Azure CLI and need to manage SQL resources from the command line. Install friction is low and the module integrates seamlessly into the `az` tool. However, note that the latest release dates to 2019 and targets Python 2.7–3.6; verify compatibility with your current Azure CLI version and Python environment before adopting. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Azure CLI (azure-cli-core) to be installed and configured; commands execute through the `az` CLI tool, not as a standalone Python library.
- Low install friction with a pure-Python wheel distribution.
- The package is actively maintained with recent commits and depends on stable Azure SDK components (azure-cli-core, azure-mgmt-sql, azure-mgmt-storage), though the latest release dates to 2019 and the package targets older Python versions (2.7, 3.4–3.6).
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
last release 2019-06-18 (2614 days) · last repo commit 2026-08-14 · 4,602 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 118,250 downloads/mo, #12,128 on PyPI
Alternatives
Verify before relying
# Install as part of Azure CLI
pip install azure-cli-sql
# Use via Azure CLI (requires azure-cli-core)
az sql server list
az sql db create --resource-group mygroup --server myserver --name mydb- Whether this module is still actively maintained or has been superseded by newer Azure CLI versions.
- Compatibility with Python versions beyond 3.6 (classifiers list only up to 3.6).
- Current state of dependencies (azure-mgmt-sql, azure-mgmt-storage) and whether they support modern Azure features.
What it is and what it does
This package is a command module for the Azure CLI that extends the `az` command-line tool with SQL database and server management capabilities. It wraps the Azure SQL management APIs (via azure-mgmt-sql and azure-mgmt-storage) to provide CLI commands for creating, updating, listing, and deleting SQL servers, databases, managed instances, elastic pools, and data warehouses.
The module is designed for developers and system administrators who manage Azure SQL resources from the command line. It integrates directly into the Azure CLI ecosystem and depends on azure-cli-core for command registration and execution. The package has a low install footprint (pure Python wheel) and no external system dependencies, but it is tightly coupled to the Azure CLI framework and cannot be used as a standalone library.
Use it for
- Automate SQL server and database provisioning in Azure infrastructure-as-code scripts.
- Manage elastic pools and database scaling from CI/CD pipelines without writing custom Python code.
- List and restore deleted databases or manage in-progress database operations via CLI.
- Configure SQL server firewall rules, virtual network rules, and connection policies from the command line.
- Create and manage Azure SQL managed instances and managed databases in bulk operations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use the Azure CLI and need to manage SQL resources from the command line.
Install friction is low and the module integrates seamlessly into the `az` tool. However, note that the latest release dates to 2019 and targets Python 2.7–3.6; verify compatibility with your current Azure CLI version and Python environment before adopting. No known security vulnerabilities.
Install
azure-cli-sql on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with recent commits and depends on stable Azure SDK components (azure-cli-core, azure-mgmt-sql, azure-mgmt-storage), though the latest release dates to 2019 and the package targets older Python versions (2.7, 3.4–3.6).
Requires Azure CLI (azure-cli-core) to be installed and configured; commands execute through the `az` CLI tool, not as a standalone Python library.
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
# Install as part of Azure CLI
pip install azure-cli-sql
# Use via Azure CLI (requires azure-cli-core)
az sql server list
az sql db create --resource-group mygroup --server myserver --name mydb
Verify before relying
- Whether this module is still actively maintained or has been superseded by newer Azure CLI versions.
- Compatibility with Python versions beyond 3.6 (classifiers list only up to 3.6).
- Current state of dependencies (azure-mgmt-sql, azure-mgmt-storage) and whether they support modern Azure features.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesazure-cli-coreazure-mgmt-sqlazure-mgmt-storagesixazure-cli-command-modules-nspkg |
| Maintenance | Actively maintained 2,614 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 118,250 / month, #12,128 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6 |
Evidence: azure_cli_sql-2.2.5-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 › “azure sql cli commands”
- azure-cli-sqlA command-line module for the Azure CLI that provides SQL database…
- az.cliExecutes Azure CLI commands from Python and returns structured…
- azure-cli-appserviceProvides Azure CLI commands for managing App Service resources…
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 azure-cli-appservice · azure-cli-acr · azure-mgmt-sql · azure-cli · az.cli · azure-cli-core · azure-mgmt-sqlvirtualmachine · mssql-python · mssql-django · azure-mgmt-cosmosdb