azure-schemaregistry
Microsoft Azure Azure Schema Registry Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is a production-stable package (Development Status 5) with active maintenance, no known vulnerabilities, and low install friction. Install it if you are building applications on Azure that use Event Hubs and need schema management, payload size optimization, or schema-driven encoding. The MIT license poses no restrictions. If you do not use Azure Schema Registry or Event Hubs, this package is not applicable.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an Azure subscription and an Azure Schema Registry instance; you must provide Azure Active Directory credentials and the fully qualified namespace of your Schema Registry service.
- Low friction installation with three lightweight runtime dependencies.
- Actively maintained as of 2024-09-18 with recent commits; part of the Azure SDK ecosystem with stable production status.
License · maintenance · safety
MIT License (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 2024-09-18 (695 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,207,391 downloads/mo, #4,219 on PyPI
Alternatives
Verify before relying
pip install azure-schemaregistry
from azure.schemaregistry import SchemaRegistryClient
from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()
fully_qualified_namespace = '<your-namespace>.servicebus.windows.net'
client = SchemaRegistryClient(fully_qualified_namespace, credential)- Performance characteristics and latency for schema lookups and encoding/decoding operations under typical load.
- Whether the optional jsonencoder extras (for jsonschema validation) are recommended for production use or only for development.
- Compatibility details with specific versions of azure-eventhub beyond the stated >=5.9.0 requirement.
What it is and what it does
Azure Schema Registry is a client library for interacting with Azure's schema repository service hosted by Event Hubs. It provides two main capabilities: a SchemaRegistryClient for registering and retrieving schemas and their metadata, and a JsonSchemaEncoder for encoding and decoding message payloads that reference schemas by identifier rather than embedding full schema definitions. This reduces payload size in messaging scenarios by replacing verbose schema definitions with compact schema IDs.
The package depends on azure-core for common Azure SDK patterns, isodate for date/time handling, and typing-extensions for type hints. It supports Python 3.8 and later, and integrates with Azure Event Hubs message types (EventData) through protocol-based interoperability. Optional JSON schema validation is available via the jsonencoder extras install.
Use it for
- Reduce Event Hubs message payload size by storing schemas centrally and referencing them by ID instead of embedding full schema definitions.
- Manage multiple versions of schemas for different data producers and consumers in a shared Azure environment.
- Validate and encode JSON payloads against registered schemas before publishing to Event Hubs or other Azure messaging services.
- Retrieve schema definitions and metadata programmatically to support schema-driven data processing pipelines.
- Build event-driven applications that need schema governance and versioning across distributed systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a production-stable package (Development Status 5) with active maintenance, no known vulnerabilities, and low install friction. Install it if you are building applications on Azure that use Event Hubs and need schema management, payload size optimization, or schema-driven encoding. The MIT license poses no restrictions. If you do not use Azure Schema Registry or Event Hubs, this package is not applicable.
Install
azure-schemaregistry on PyPI
Before you install
Low friction installation with three lightweight runtime dependencies. Actively maintained as of 2024-09-18 with recent commits; part of the Azure SDK ecosystem with stable production status.
Requires an Azure subscription and an Azure Schema Registry instance; you must provide Azure Active Directory credentials and the fully qualified namespace of your Schema Registry service.
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
pip install azure-schemaregistry
from azure.schemaregistry import SchemaRegistryClient
from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()
fully_qualified_namespace = '<your-namespace>.servicebus.windows.net'
client = SchemaRegistryClient(fully_qualified_namespace, credential)
Verify before relying
- Performance characteristics and latency for schema lookups and encoding/decoding operations under typical load.
- Whether the optional jsonencoder extras (for jsonschema validation) are recommended for production use or only for development.
- Compatibility details with specific versions of azure-eventhub beyond the stated >=5.9.0 requirement.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesazure-coreisodatetyping-extensions |
| Maintenance | Actively maintained 695 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,207,391 / month, #4,219 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: azure_schemaregistry-1.3.0-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 schema registry client”
- azure-schemaregistryRegisters, retrieves, and manages schemas in Azure Schema Registry,…
- azure-schemaregistry-avroserializerSerializes and deserializes Avro data using Azure Schema Registry,…
- azure-mgmt-containerregistryManages Azure Container Registry resources—create, update, delete,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also azure-schemaregistry-avroserializer · python-schema-registry-client · aws-glue-schema-registry · azure-keyvault-certificates · azure-keyvault-keys · azure-eventhub · azure-storage-blob · azure-keyvault-secrets · azure-mgmt-containerregistrytasks · azure-mgmt-containerregistry