Difference between revisions of "python-musicbrainz2"

From MusicBrainz Wiki
Jump to navigationJump to search
Line 10: Line 10:
| [[Image:download.gif]] || [http://ftp.musicbrainz.org/pub/musicbrainz/python-musicbrainz2/python-musicbrainz2-0.7.2.tar.gz python-musicbrainz2-0.7.2.tar.gz] (current release) <br/><small>MD5: 89fa67121973014dec8629f2cc75b826</small>
| [[Image:download.gif]] || [http://ftp.musicbrainz.org/pub/musicbrainz/python-musicbrainz2/python-musicbrainz2-0.7.3.tar.gz python-musicbrainz2-0.7.3.tar.gz] (current release) <br/><small>MD5: 8cb32e440b4a896e0d9ebc939699eafe</small>

Revision as of 08:49, 1 May 2011

Products > python-musicbrainz2

The python-musicbrainz2 package is a client library written in python that provides easy object oriented access to the MusicBrainz Database using the XML Web Service. It has been written from scratch and uses a different model than its predecessor, python-musicbrainz.

API documentation can be created from the source code using epydoc and is also available online. The source distribution comes with example code which demonstrates some of the most important features.

Questions about python-musicbrainz2 can be asked on the MusicBrainz developers mailing list.


download.gif python-musicbrainz2-0.7.3.tar.gz (current release)
MD5: 8cb32e440b4a896e0d9ebc939699eafe


The python-musicbrainz2 library is licensed under a BSD style license.

Source Code

The source code of python-musicbrainz2 is available using anonymous Subversion access. Read the Subversion document for instructions on how to use Subversion and checkout the python-musicbrainz2 source code. Alternatively, you can browse the python-musicbrainz2 Subversion repository directly using the source browser.

svn checkout http://svn.musicbrainz.org/python-musicbrainz2/trunk python-musicbrainz2


If you find a bug, please report it on the bug tracker (use python-musicbrainz2 as the component) after checking to make sure it hasn't been listed yet. Also make sure you have read the relevant documentation (README.txt, INSTALL.txt, API documentation, FAQs) before doing so. Bugs regarding the XML Web Service itself should be filed under the XML Webservice component.


ctypes 0.9.6 doesn't compile using gcc-4.0 on Mac OS X

According to 1157, you have to patch ctypes to make it compile. There is a patch against ctypes-0.9.6. You may also use ctypes- or later which seems to compile, but this version doesn't work with the old python-tunepimp package, so picard-0.6 won't work. picard-0.7 doesn't require the old python-tunepimp anymore and will work.

Previous Version

python-musicbrainz was a python wrapper for libmusicbrainz that used the RDF web service, it was a straight python to c binding, and used ctypes to avoid having to write c code. It has been deprecated and replaced with python-musicbrainz2.

Next Version

Planning for the next version of the library, supporting the NGS schema is at python-musicbrainz3