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-py3.3-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fa42452473bd5e6d4d95b6f02673bb6afc237e572b8660456cc3480f1bb06e3 |
|
MD5 | bb6bd8c7b02dffed926938eb60ee3e4b |
|
BLAKE2b-256 | e65b54073ce427477af13e352d1332ebbb1281acd1436a26d62befa6f4db846d |
Hashes for python_libdiscid-0.3-py3.2-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e89cbfd4e54cd3be715d7f9122ab96392251863f920e50bd55fc0aabd1162d2 |
|
MD5 | 1a1c9c20aeebe0dd3d0ac0fd6d43fbb9 |
|
BLAKE2b-256 | c658a6a4ba40300a721d908360acfb46483a0603ee8c374232fe3eadc97e0d63 |
Hashes for python_libdiscid-0.3-py2.7-win32.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d2a8de789dec91f12dbb370d71b3c331db9504ca4a97beb78daf342c5faedb3 |
|
MD5 | d9f480df110f186dc89e3eb1edeb2099 |
|
BLAKE2b-256 | c8b12e2d6fce2725d12d79fe2ba7a971b2a59056ccb0d02e2b0a1544b47d1245 |