Skip to main content

file like object for zstandard

Project description

read

import zd

with zd.open(
  "./test.zd"
) as f:
  for i in f:
    print(i)

write

import zd


# argsument level is optional, default is 10
with zd.open( "./test.zd", "w", level=10) as f:
  for i in range(10):
    f.write(i)

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

zd-0.0.4.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

zd-0.0.4-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

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