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


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