A collection of JSON schemas used by Weblate for various objects and APIs. This library provides a programmatic way to access and retrieve these schemas as Python dictionaries, often used in conjunction with the `jsonschema` library for validation. It follows a calendar versioning scheme (YYYY.M) with regular monthly releases.
pip install weblate-schemasVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to list available schemas and retrieve a specific schema using `get_schema`. The schemas are returned as Python dictionaries, ready for use with a JSON schema validator like `jsonschema` (not directly imported here as it's an external dependency for validation, not schema retrieval).
Always test your schema consumers (e.g., validation logic) after updating `weblate-schemas`. Pin to specific versions (e.g., `weblate-schemas==2025.6`) to ensure schema stability, but be aware this may miss new features or bug fixes.
Use `from weblate_schemas import list_schemas; list_schemas()` to get a current list of all available schema names before attempting to retrieve a specific one with `get_schema()`.
Be mindful of frequent releases. If strict schema stability is required, pin to a specific `weblate-schemas` version. For development, consider using `pip install --pre weblate-schemas` to get the latest pre-release, but lock down for production.
No dependency data recorded yet.