Core Registry Client
Python client SDK for interacting with the Schema Registry Service.
Installation
pip install core-registry-client
Quick Start
from core_registry_client import RegistryClient
# Initialize client
client = RegistryClient(base_url="http://localhost:8000")
# Get schema index
index = await client.get_index()
# Fetch specific schema
schema = await client.fetch_schema("v1", "telemetry.FeedbackEvent")
# Negotiate best version
result = await client.negotiate(
name="telemetry.FeedbackEvent",
prefer="v2",
fallback="v1",
)
# Check compatibility
compat = await client.check_compatibility(
name="telemetry.FeedbackEvent",
from_track="v1",
from_version="v1.2.0",
to_track="v2",
to_version="v2.0.0",
)
API Reference
RegistryClient
Main client class for interacting with the registry.
Methods
get_index()- Get complete registry indexfetch_schema(track, name, version=None)- Fetch schema by track and namefetch_schema_by_id(schema_id)- Fetch schema by global IDlist_versions(track, name)- List all versions of a schemacheck_compatibility(name, from_track, from_version, to_track, to_version)- Check compatibilitynegotiate(name, prefer, fallback, supports_tracks=None)- Negotiate best versionupload_schema(...)- Upload schema (requires admin token)sync_schemas(source, ref=None, path=None)- Trigger sync (requires admin token)
Examples
See examples/ directory for more usage examples.
License
MIT License
Metadata
Release files for core-registry-client 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| core_registry_client-0.2.0.tar.gz | 5.5 kB | Without provenance | Details for core_registry_client-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| core_registry_client-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for core_registry_client-0.2.0-py3-none-any.whl |
Total release size: 11.7 kB
Release files / core_registry_client-0.2.0.tar.gz
| Download URL | core_registry_client-0.2.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d30d5e931a385a7ab71c1a0dc2340f7def34b07277507b6ca05122946fcd339
|
|
BLAKE2b-256 checksum How to use checksums |
396a1b92099fe65abdf6d943528c64c3fbd3d246e1d55ea41916d261b6a5b62a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / core_registry_client-0.2.0-py3-none-any.whl
| Download URL | core_registry_client-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
30b4dca6161d51f91255388274da6596869977455e8e902e9c9e2146065df341
|
|
BLAKE2b-256 checksum How to use checksums |
48914ebffc561a31d88de2590c4fec12555105e7dd47d2f1f9ec592b85eecfb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for core-registry-client 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.