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:
- Trang
- Twine to upload to PyPI
- Virtualenv to create a virtual environment
If you are on Ubuntu/Debian you can install these via:
sudo apt-get install trang twine python-virtualenv
Make sure you have:
- Git credentials for remote
origin - GPG private signing key
CE33CF04 - PyPI credentials in
~/.pypirc
Updating and pushing to Git and PyPI
Finall run
./update.sh
It will create a virtual environment with the packages lxml and generateDS, update the schema, regenerate the files, test, commit and tag changes with Git, push commits and tags with Git, build Python package and push it to PyPI.
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
File details
Details for the file mb_rngpy-2.20250423.0.tar.gz.
File metadata
- Download URL: mb_rngpy-2.20250423.0.tar.gz
- Upload date:
- Size: 104.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86f817cd9db0de192a7225d8bdea2db692ecafa91a1c9fc2ca454516ce048432
|
|
| MD5 |
68f40b98f57fddcf2e9d51c8afd2f7c0
|
|
| BLAKE2b-256 |
426b31da7e2d324f218eae1acd2f99de622993050d336803abb445557bc43a03
|