python-musicbrainz2: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
m (Adding mention of python-musicbrainz deprecated status.)
m (moving deprecated notice to the right place)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<small>[[Products]] > python-musicbrainz2 </small>
<small>[[Products]] > python-musicbrainz2 </small>

: ''[[Image:Attention.png]] python-musicbrainz has been deprecated and replaced by the new client bindings python-musicbrainz2.''


The package '''python-musicbrainz2''' is a client library written in [http://python.org 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.
The package '''python-musicbrainz2''' is a client library written in [http://python.org 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.
Line 37: Line 35:


== Previous Version ==
== Previous Version ==
: ''[[Image:Attention.png]] python-musicbrainz has been deprecated and replaced by the new client bindings python-musicbrainz2.''

; python-musicbrainz
; python-musicbrainz
: python-musicbrainz was a python wrapper for [[libmusicbrainz]], it was a straight python to c binding, and used [http://starship.python.net/crew/theller/ctypes/ ctypes] to avoid having to write c code. This project is now a part of the [[MusicBrainz]] Client library [[libmusicbrainz]].
: python-musicbrainz was a python wrapper for [[libmusicbrainz]], it was a straight python to c binding, and used [http://starship.python.net/crew/theller/ctypes/ ctypes] to avoid having to write c code. This project is now a part of the [[MusicBrainz]] Client library [[libmusicbrainz]].

Revision as of 12:36, 5 November 2009

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.

Download

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

License

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

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

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.

FAQ

Installation

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.

Previous Version

Attention.png python-musicbrainz has been deprecated and replaced by the new client bindings python-musicbrainz2.
python-musicbrainz
python-musicbrainz was a python wrapper for libmusicbrainz, it was a straight python to c binding, and used ctypes to avoid having to write c code. This project is now a part of the MusicBrainz Client library libmusicbrainz.