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.

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


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.3.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distributions

python_libdiscid-0.3.1-py3.3-win32.egg (48.8 kB view details)

Uploaded Source

python_libdiscid-0.3.1-py3.2-win32.egg (48.3 kB view details)

Uploaded Source

python_libdiscid-0.3.1-py2.7-win32.egg (45.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for python-libdiscid-0.3.1.tar.gz
Algorithm Hash digest
SHA256 59be2f5bb617c28fb08b48ec9b334b54b72f1e376b930dcdf7af9ba9da617811
MD5 61ddd433786f33e9d0e0490eed21965d
BLAKE2b-256 8bfbc4b8bc329e4ae2799d61a2de919eb05e99f95b8f89086026dafd1abdfcb2

See more details on using hashes here.

File details

Details for the file python_libdiscid-0.3.1-py3.3-win32.egg.

File metadata

File hashes

Hashes for python_libdiscid-0.3.1-py3.3-win32.egg
Algorithm Hash digest
SHA256 9cfc83eb47d6170ec67c079b0726b4eff1daa2a12d06be1176b35621224b9f71
MD5 2b9fe4960e2a05ae9be64b4d85c26b80
BLAKE2b-256 d4d5eb2a38cf5b693278ca07d01b1ca381ba01cac41128b9c038ffaa96fef476

See more details on using hashes here.

File details

Details for the file python_libdiscid-0.3.1-py3.2-win32.egg.

File metadata

File hashes

Hashes for python_libdiscid-0.3.1-py3.2-win32.egg
Algorithm Hash digest
SHA256 41567b85622177ae8721cf78510f537ad37483805af7db293a62f66a0620d982
MD5 b2c2779bf6fe04348258d741c4c9afad
BLAKE2b-256 bf155013dd63220b0dd24af948b04f38c308679fb99cbf2d10c225a9a223030b

See more details on using hashes here.

File details

Details for the file python_libdiscid-0.3.1-py2.7-win32.egg.

File metadata

File hashes

Hashes for python_libdiscid-0.3.1-py2.7-win32.egg
Algorithm Hash digest
SHA256 8bbbd7727c60c5bcd6ef91a6c9f34c503600864772b68ee385bf18cfbe71f5ff
MD5 f7905a6ae692b0a7639294a353da117b
BLAKE2b-256 7b4db3a6eed0b79ae4ff08113e72339d9bdb5a3754cd8cc3baa5c495414e683a

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