Skip to main content

Python bindings for libdiscid

Project description

python-libdiscid implements Python bindings for libdiscid using Cython. Both Python 2.x and 3.x are supported.

Dependencies

  • libdiscid

  • Cython (>= 0.15)

Quick installation guide

libdiscid can be installed via pip:

pip install libdiscid

or by running:

python setup.py install

If you just want to try it locally, run:

python setup.py build_ext -i

and hack right away. You can also run:

python setup.py build

but please make sure that build/lib.* is in sys.path before the source folder.

Usage

from libdiscid import read

disc = read("/dev/cdrom")
print "id: %s" % (disc.id, )

License

python-libdiscid is release under the Expat license. Check LICENSE for details.

Project details


Download files

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

Source Distribution

python-libdiscid-0.1.2.tar.gz (12.6 kB view details)

Uploaded Source

File details

Details for the file python-libdiscid-0.1.2.tar.gz.

File metadata

File hashes

Hashes for python-libdiscid-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7a6b8f5b0c48313b48ac4a9d4f13d6b321f56ca4d9ef5a049431ff8a629b133e
MD5 ae4fb7e87e8d0a5b4406e91a178857f7
BLAKE2b-256 b3cf01783259a53be710350752c7eeb2921068220f20d3a8f520d0abf1ff7abb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page