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

Uploaded Source

Built Distributions

python_libdiscid-0.3-py3.3-win32.egg (48.7 kB view details)

Uploaded Source

python_libdiscid-0.3-py3.2-win32.egg (48.2 kB view details)

Uploaded Source

python_libdiscid-0.3-py2.7-win32.egg (45.4 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for python-libdiscid-0.3.tar.gz
Algorithm Hash digest
SHA256 4bf304df534c4cc0dc01bb7bf447c9c0c36cc61450c8e8699e3f2b8441deb502
MD5 0ec2909136229167a80fdcc3527dceb6
BLAKE2b-256 e6cdf1e1b76a79e7dc0eb941e3cccb16cc6ede936a6b9ba3e6cefe947b5cd1cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_libdiscid-0.3-py3.3-win32.egg
Algorithm Hash digest
SHA256 7fa42452473bd5e6d4d95b6f02673bb6afc237e572b8660456cc3480f1bb06e3
MD5 bb6bd8c7b02dffed926938eb60ee3e4b
BLAKE2b-256 e65b54073ce427477af13e352d1332ebbb1281acd1436a26d62befa6f4db846d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_libdiscid-0.3-py3.2-win32.egg
Algorithm Hash digest
SHA256 8e89cbfd4e54cd3be715d7f9122ab96392251863f920e50bd55fc0aabd1162d2
MD5 1a1c9c20aeebe0dd3d0ac0fd6d43fbb9
BLAKE2b-256 c658a6a4ba40300a721d908360acfb46483a0603ee8c374232fe3eadc97e0d63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_libdiscid-0.3-py2.7-win32.egg
Algorithm Hash digest
SHA256 8d2a8de789dec91f12dbb370d71b3c331db9504ca4a97beb78daf342c5faedb3
MD5 d9f480df110f186dc89e3eb1edeb2099
BLAKE2b-256 c8b12e2d6fce2725d12d79fe2ba7a971b2a59056ccb0d02e2b0a1544b47d1245

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