Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python binding of Libdiscid

Project Description

Python-discid implements Python bindings for MusicBrainz Libdiscid. This module works with Python 2 >= 2.6, or Python 3 >= 3.1. Libdiscid >= 0.2.2 is needed.

Libdiscid’s main purpose is the calculation of an identifier of audio discs (disc ID) to use for the MusicBrainz database.

That identifier is calculated from the TOC of the disc, similar to the freeDB CDDB identifier. Libdiscid can calculate MusicBrainz disc IDs and freeDB disc IDs. Additionally the MCN of the disc and ISRCs from the tracks can be extracted.

This module is a close binding that offloads all relevant data storage and calculation to Libdiscid. On the other hand it gives a pythonic API and uses objects and exceptions.

The official API documentation can be found at

For more information on Libdiscid see libdiscid.

For more information about the calculation of these disc ids see Disc ID Calculation.


# this will load Libdiscid
import discid

disc =  # use default device
print "id: %s" %  # Python 2
print("id: %s" % # Python 3

See also the


This module is released under the GNU Lesser General Public License Version 3. See COPYING.LESSER for details.


You can submit tickets at GitHub.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(31.0 kB) Copy SHA256 Hash SHA256
Source None Jan 29, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers