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
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e70ae533341efd1317cd1ecdd1e2821d019a10ee3cae061e081c8367c5f868bc
|
|
| MD5 |
d7282c0e23abcd4e48be46a6c52efaf3
|
|
| BLAKE2b-256 |
b909d1d36d42b218c4a3b79091a57dbd6ce61f52ac3b605471c25be5557b48d7
|
Provenance
The following attestation bundles were made for mb_rngpy-2.20260508.0.tar.gz:
Publisher:
publish.yml on metabrainz/mb-rngpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mb_rngpy-2.20260508.0.tar.gz -
Subject digest:
e70ae533341efd1317cd1ecdd1e2821d019a10ee3cae061e081c8367c5f868bc - Sigstore transparency entry: 1475429576
- Sigstore integration time:
-
Permalink:
metabrainz/mb-rngpy@6007a93f863cc24df9c953269868cf9c2f542791 -
Branch / Tag:
refs/tags/v-2.20260508.0 - Owner: https://github.com/metabrainz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6007a93f863cc24df9c953269868cf9c2f542791 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mb_rngpy-2.20260508.0-py3-none-any.whl.
File metadata
- Download URL: mb_rngpy-2.20260508.0-py3-none-any.whl
- Upload date:
- Size: 98.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b24aebefc678473529f84979aaa99485c3c1cd124cc1d30ef6b80d4860c442
|
|
| MD5 |
9f9c0b26efd6766a13ded82cf16d0876
|
|
| BLAKE2b-256 |
267cce709a0a44f6e5ea88bfb331f600fd83d4d1e35b03f99a15445431fbfaed
|
Provenance
The following attestation bundles were made for mb_rngpy-2.20260508.0-py3-none-any.whl:
Publisher:
publish.yml on metabrainz/mb-rngpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mb_rngpy-2.20260508.0-py3-none-any.whl -
Subject digest:
11b24aebefc678473529f84979aaa99485c3c1cd124cc1d30ef6b80d4860c442 - Sigstore transparency entry: 1475429586
- Sigstore integration time:
-
Permalink:
metabrainz/mb-rngpy@6007a93f863cc24df9c953269868cf9c2f542791 -
Branch / Tag:
refs/tags/v-2.20260508.0 - Owner: https://github.com/metabrainz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6007a93f863cc24df9c953269868cf9c2f542791 -
Trigger Event:
release
-
Statement type: