Python bindings for the MusicBrainz XML Web Service and Cover Art Archive. Current version 0.7.1, stable but infrequent updates; supports Python 2.7 and 3.4+.
pip install musicbrainzngsVerified import paths — ran on the pinned version, not inferred.
Set user agent (required by MusicBrainz) and search for an artist.
Always call musicbrainzngs.set_useragent(app, version, contact) at the start.
Remove calls to set_rate_limit().
Pass limit=100, offset=0 to get more results and loop until empty.
Wait and retry with exponential backoff.
Call musicbrainzngs.auth(username, password) before accessing user-specific data.
No dependency data recorded yet.