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.
A note for Windows users
There are eggs available from PyPI that don’t require the extension module to be built. If these are used, it is still required to drop a working discid.dll in C:\WINDOWS\system32 (or wherever it can be found).
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for python_libdiscid-0.3.1-py3.3-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cfc83eb47d6170ec67c079b0726b4eff1daa2a12d06be1176b35621224b9f71 |
|
MD5 | 2b9fe4960e2a05ae9be64b4d85c26b80 |
|
BLAKE2b-256 | d4d5eb2a38cf5b693278ca07d01b1ca381ba01cac41128b9c038ffaa96fef476 |
Hashes for python_libdiscid-0.3.1-py3.2-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41567b85622177ae8721cf78510f537ad37483805af7db293a62f66a0620d982 |
|
MD5 | b2c2779bf6fe04348258d741c4c9afad |
|
BLAKE2b-256 | bf155013dd63220b0dd24af948b04f38c308679fb99cbf2d10c225a9a223030b |
Hashes for python_libdiscid-0.3.1-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bbbd7727c60c5bcd6ef91a6c9f34c503600864772b68ee385bf18cfbe71f5ff |
|
MD5 | f7905a6ae692b0a7639294a353da117b |
|
BLAKE2b-256 | 7b4db3a6eed0b79ae4ff08113e72339d9bdb5a3754cd8cc3baa5c495414e683a |