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
- Setup a virtual environment and install dependencies by running
pip install --group dev --group test. - Run
./update.shto update schema and regenerate models. - Review the generated commits and either open a PR with the changes or push them to master.
- Create a new GitHub release using the correct tag format. Tags should follow the pattern
2.{MMD_SCHEMA_VERSION}.{PATCH}, wherePATCHis incremented by 1 from the previous patch version. When theMMD_SCHEMA_VERSIONis updated, the PATCH number should be reset to 0.
Metadata
Release files for mb-rngpy 2.20260508.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 | |
|---|---|---|---|
| mb_rngpy-2.20260508.0.tar.gz | 104.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mb_rngpy-2.20260508.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 202.5 kB
Release files / mb_rngpy-2.20260508.0.tar.gz
| Download URL | mb_rngpy-2.20260508.0.tar.gz |
|---|---|
| Size | 104.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e70ae533341efd1317cd1ecdd1e2821d019a10ee3cae061e081c8367c5f868bc
|
|
BLAKE2b-256 checksum How to use checksums |
b909d1d36d42b218c4a3b79091a57dbd6ce61f52ac3b605471c25be5557b48d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 8, 2026.
Transparency logRelease files / mb_rngpy-2.20260508.0-py3-none-any.whl
| Download URL | mb_rngpy-2.20260508.0-py3-none-any.whl |
|---|---|
| Size | 98.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11b24aebefc678473529f84979aaa99485c3c1cd124cc1d30ef6b80d4860c442
|
|
BLAKE2b-256 checksum How to use checksums |
267cce709a0a44f6e5ea88bfb331f600fd83d4d1e35b03f99a15445431fbfaed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 8, 2026.
Transparency log