Skip to main content

Python bindings for the MusicBrainz XML Metadata RELAX NG schema

Project description

mb-rngpy

Python bindings for the MusicBrainz RNG schema. Required by sir

Installation

Development files of both libxml2 and libxslt are required to install lxml Python package which is imported by mb-rngpy.

If you are on Ubuntu/Debian you can install these via:

sudo apt-get install libxml2-dev libxslt1-dev

Then you can install mb-rngpy from PyPI via:

pip install mb-rngpy

It is supported on Python 3 only.

Community

Join the development community of MusicBrainz at https://community.metabrainz.org/c/musicbrainz/devel

Report issues at https://tickets.metabrainz.org/secure/CreateIssue!default.jspa?pid=10022

Updating the models

Requirements

Please install the following programs:

If you are on Ubuntu/Debian you can install these via:

sudo apt-get install trang

Also, note that your pip version should be >= 25.1.0.

Updating and pushing to Git and PyPI

  1. Setup a virtual environment and install dependencies by running pip install --group dev --group test.
  2. Run ./update.sh to update schema and regenerate models.
  3. Review the generated commits and either open a PR with the changes or push them to master.
  4. Create a new GitHub release using the correct tag format. Tags should follow the pattern 2.{MMD_SCHEMA_VERSION}.{PATCH}, where PATCH is incremented by 1 from the previous patch version. When the MMD_SCHEMA_VERSION is updated, the PATCH number should be reset to 0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mb_rngpy-2.20260508.0.tar.gz (104.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mb_rngpy-2.20260508.0-py3-none-any.whl (98.2 kB view details)

Uploaded Python 3

File details

Details for the file mb_rngpy-2.20260508.0.tar.gz.

File metadata

  • Download URL: mb_rngpy-2.20260508.0.tar.gz
  • Upload date:
  • Size: 104.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mb_rngpy-2.20260508.0.tar.gz
Algorithm Hash digest
SHA256 e70ae533341efd1317cd1ecdd1e2821d019a10ee3cae061e081c8367c5f868bc
MD5 d7282c0e23abcd4e48be46a6c52efaf3
BLAKE2b-256 b909d1d36d42b218c4a3b79091a57dbd6ce61f52ac3b605471c25be5557b48d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mb_rngpy-2.20260508.0.tar.gz:

Publisher: publish.yml on metabrainz/mb-rngpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mb_rngpy-2.20260508.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mb_rngpy-2.20260508.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11b24aebefc678473529f84979aaa99485c3c1cd124cc1d30ef6b80d4860c442
MD5 9f9c0b26efd6766a13ded82cf16d0876
BLAKE2b-256 267cce709a0a44f6e5ea88bfb331f600fd83d4d1e35b03f99a15445431fbfaed

See more details on using hashes here.

Provenance

The following attestation bundles were made for mb_rngpy-2.20260508.0-py3-none-any.whl:

Publisher: publish.yml on metabrainz/mb-rngpy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page