Skip to main content

Python bindings to chd-rs

Project description

chd-rs-py

Extremly basic Python bindings to chd-rs.

pip install chd-rs-py

Usage

from chd import chd_open

chd_file = chd_open("Test.chd")
metadata = chd_file.metadata()

for m in metadata:
    print(m.tag(), m.data())

for h in range(len(chd_file)):
    # read the hunk (as bytes)
    hunk = chd_file.hunk(h)

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

chd_rs_py-0.1.5.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distributions

chd_rs_py-0.1.5-cp37-none-win_amd64.whl (229.8 kB view hashes)

Uploaded CPython 3.7 Windows x86-64

chd_rs_py-0.1.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

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