Skip to main content

Zstandard - Fast real-time compression algorithm

Project description

zstd-bin

Precompiled zstd binaries distributed as Python wheels.

Installation

pip install zstd-bin

After installation, the zstd command will be available in your PATH:

zstd --version

Usage

This package provides the zstd command-line tool. All zstd commands work as expected:

# Compress a file
zstd file.txt

# Decompress
zstd -d file.txt.zst

# View help
zstd --help

Supported Platforms

  • Linux x86_64 (manylinux_2_28, glibc 2.28+)
  • Linux aarch64 (manylinux_2_28, glibc 2.28+)
  • macOS arm64 (macOS 11.0+)
  • macOS x86_64 (macOS 11.0+)

Building from Source

This package automatically compiles zstd from source when building wheels.

To build locally:

# Clone with submodules
git clone --recurse-submodules https://github.com/czudf/zstd-bin

# Or if already cloned, initialize submodules
git submodule update --init --recursive

# Install uv (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Build wheel for your platform (automatically compiles zstd from source)
uv build --wheel

# Test installation
uv venv .venv
uv pip install --no-index -f dist/ zstd-bin
.venv/bin/zstd --version

The build process:

  1. Automatically detects your platform (Linux/macOS, x86_64/aarch64)
  2. Compiles zstd from the included git submodule (zstd/)
  3. Creates a platform-specific wheel with the compiled binary

License

This package distributes zstd binaries which are licensed under BSD-3-Clause. See https://github.com/facebook/zstd for the original zstd project.

Acknowledgments

This project was inspired by and learned from pip-binary-factory, which provides an excellent framework for distributing precompiled binaries via Python wheels.

Repository

https://github.com/czudf/zstd-bin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

zstd_bin-1.5.5-py3-none-manylinux_2_28_x86_64.whl (518.7 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

zstd_bin-1.5.5-py3-none-manylinux_2_28_aarch64.whl (505.7 kB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

zstd_bin-1.5.5-py3-none-macosx_11_0_arm64.whl (348.6 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file zstd_bin-1.5.5-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for zstd_bin-1.5.5-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0b982a8566b6627c5d4c2d15cc38cffaf80fa898def663db31c0d9bd9f8c82b9
MD5 0aed7c73bf294005515118134707a70e
BLAKE2b-256 ffd4f17525bcb93b73543436167c8aa0254477452c1893b7ce3efecb34e15ebe

See more details on using hashes here.

Provenance

The following attestation bundles were made for zstd_bin-1.5.5-py3-none-manylinux_2_28_x86_64.whl:

Publisher: build.yml on czudf/zstd-bin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zstd_bin-1.5.5-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for zstd_bin-1.5.5-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bab549912bb17467a1e3768b68db44986f315a0ca1de90eb295e2a9ad0069deb
MD5 c75e07451e1e94a2243437486f5f7d96
BLAKE2b-256 d8c763eeaf37af02f0175122588f4fe3a936f2cfb8979013d94e0a8b88e090b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for zstd_bin-1.5.5-py3-none-manylinux_2_28_aarch64.whl:

Publisher: build.yml on czudf/zstd-bin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zstd_bin-1.5.5-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for zstd_bin-1.5.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 47db879c6bce71f9a9e8dfe2e31ea9f27819405853ab59b01da6a0db8ba0fc53
MD5 c5ab9fb98d21ebd7b3de52abe87f913b
BLAKE2b-256 cc786ae23d780ced7bb2187ffc0a3df2394424bfb95c6207d9a69d342c25bdb7

See more details on using hashes here.

Provenance

The following attestation bundles were made for zstd_bin-1.5.5-py3-none-macosx_11_0_arm64.whl:

Publisher: build.yml on czudf/zstd-bin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page