Difference between revisions of "python-musicbrainz2"

From MusicBrainz Wiki
Jump to navigationJump to search
(Adding previous version information from python-musicbrainz.)
Line 19: Line 19:
   
 
According to [[Ticket:1157|1157]], you have to patch ctypes to make it compile. There is [http://oubiwann.blogspot.com/2006/01/ctypes-on-mac-os-x-104-with-gcc-40.html 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.
 
According to [[Ticket:1157|1157]], you have to patch ctypes to make it compile. There is [http://oubiwann.blogspot.com/2006/01/ctypes-on-mac-os-x-104-with-gcc-40.html 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 ==
  +
  +
; 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]].
   
 
[[Category:To Be Reviewed]] [[Category:WikiDocs Page]] [[Category:Products]] [[Category:Development]]
 
[[Category:To Be Reviewed]] [[Category:WikiDocs Page]] [[Category:Products]] [[Category:Development]]

Revision as of 07:43, 4 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 XMLWebService. It has been written from scratch and uses a different model than PythonMusicbrainz, the first generation python bindings.

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

download.gif See the PythonMusicBrainz2Download page

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

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.