python-musicbrainz2

From MusicBrainz Wiki

(Redirected from PythonMusicBrainz2)
Jump to: navigation, search

Products > python-musicbrainz2

The package python-musicbrainz2 is a client library written in python which 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.

[edit] Download

Image:download.gif python-musicbrainz2-0.7.0.tar.gz (current release)
MD5: 7aa39add30fcd7e1724d4b29ba1f050e

[edit] License

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

[edit] Get 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

[edit] Bugs

If you find a bug, please report it using the MusicBrainz bug tracker (component python-musicbrainz2) if it is not listed yet. Make sure you have read the relevant documentation (README.txt, INSTALL.txt, API documentation, FAQ) before doing so. Bugs in the XMLWebService itself should be filed under the component XML Webservice.

[edit] FAQ

[edit] Installation

[edit] Mac OS X: ctypes 0.9.6 doesn't compile using gcc-4.0

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-0.9.9.3 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.

[edit] Previous Version

Image:Attention.png This has now been deprecated and replaced with python-musicbrainz2.

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.

Personal tools