$npx skillfedfor your agent

azure-mgmt-commerce

Microsoft Azure Commerce Management Client Library for Python

With conditionsPyPI InternetReleased May 20261.7M downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — azure_mgmt_commerce-6.0.1-py3-none-any.whl
v6.0.1 · released 2026-05-15 · Python >=3.9 · 3 runtime deps: isodate, azure-mgmt-core, typing-extensions

Yes, if you need programmatic access to Azure usage and billing data. The package is actively maintained, has low install friction, and is the official Microsoft library for this purpose. However, verify the license terms before use in proprietary contexts, as the license treatment is currently unclear in the metadata.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9+.
  • Azure authentication credentials must be configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).
  • Low install friction with a pure-wheel distribution.

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the GitHub repository before use in proprietary or restricted contexts.

last release 2026-05-15 (91 days) · last repo commit 2026-08-14 · 5,588 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,662,217 downloads/mo, #3,673 on PyPI

Verify before relying

pip install azure-mgmt-commerce

from azure.mgmt.commerce import UsageManagementClient
from azure.identity import DefaultAzureCredential
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = UsageManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
  • Specific operations and models available in version 6.0.1 versus beta features in later releases.
  • Whether additional packages beyond the three runtime dependencies are needed for typical usage patterns.
  • Actual license terms and compatibility restrictions for commercial use.
Same gist for agents: .md · .json

What it is and what it does

azure-mgmt-commerce is the official Python client library for interacting with Azure's Commerce Management API. It allows developers to query and retrieve Azure usage aggregation data, billing information, and related metrics programmatically. The library is part of the broader Azure SDK for Python and follows modern Azure SDK patterns, including unified credential handling and type annotations.

The package is built on top of azure-mgmt-core and integrates with the Azure authentication system. It requires Python 3.9 or later and is tested against Python 3.10+. The library exposes a UsageManagementClient that can be instantiated with credentials and a subscription ID, providing access to usage data and billing operations. No known security vulnerabilities are recorded.

Use it for

  • Query Azure usage aggregation data for a subscription to track resource consumption over time.
  • Retrieve billing and cost information programmatically for cost analysis and reporting.
  • Integrate Azure usage metrics into internal dashboards or monitoring systems.
  • Automate billing data collection for multi-subscription Azure environments.
  • Build custom cost allocation or chargeback tools on top of Azure usage data.

Worth the install?

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

With conditions

Yes, if you need programmatic access to Azure usage and billing data.

The package is actively maintained, has low install friction, and is the official Microsoft library for this purpose. However, verify the license terms before use in proprietary contexts, as the license treatment is currently unclear in the metadata.

Install

azure-mgmt-commerce on PyPI

Before you install

Low install friction with a pure-wheel distribution. Actively maintained as of 2026-05-15 with recent commits; requires Python 3.9+ and three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions).

Requires Python 3.9+. Azure authentication credentials must be configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).

License in practice

License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the GitHub repository before use in proprietary or restricted contexts.

Quickstart

pip install azure-mgmt-commerce

from azure.mgmt.commerce import UsageManagementClient
from azure.identity import DefaultAzureCredential
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = UsageManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Verify before relying

  • Specific operations and models available in version 6.0.1 versus beta features in later releases.
  • Whether additional packages beyond the three runtime dependencies are needed for typical usage patterns.
  • Actual license terms and compatibility restrictions for commercial use.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
isodateazure-mgmt-coretyping-extensions
MaintenanceActively maintained 91 days since the last release
Last repo commit
First released
Downloads1,662,217 / month, #3,673 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: azure_mgmt_commerce-6.0.1-py3-none-any.whl

Tags

Capabilities
azure commerce management clientazure usage aggregation apiazure billing data pythonazure mgmt sdk pythonazure subscription usage tracking
Topics
azure-sdkcloud-management
PyPI keywords
azureazure sdk

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 commerce management client”

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

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also azure-mgmt-managementpartner · azure-mgmt-monitor · azure-mgmt-subscription · azure-mgmt-streamanalytics · azure-mgmt-marketplaceordering · azure-mgmt-managedservices · azure-mgmt-resourcegraph · azure-mgmt-msi · azure-mgmt-resource-subscriptions · azure-mgmt-trafficmanager