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:
- Automatically detects your platform (Linux/macOS, x86_64/aarch64)
- Compiles zstd from the included git submodule (zstd/)
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zstd_bin-1.5.5-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: zstd_bin-1.5.5-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 518.7 kB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b982a8566b6627c5d4c2d15cc38cffaf80fa898def663db31c0d9bd9f8c82b9
|
|
| MD5 |
0aed7c73bf294005515118134707a70e
|
|
| BLAKE2b-256 |
ffd4f17525bcb93b73543436167c8aa0254477452c1893b7ce3efecb34e15ebe
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zstd_bin-1.5.5-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
0b982a8566b6627c5d4c2d15cc38cffaf80fa898def663db31c0d9bd9f8c82b9 - Sigstore transparency entry: 1809300952
- Sigstore integration time:
-
Permalink:
czudf/zstd-bin@6367a0b44066dba4d4f10abe3e564588c13f5fd9 -
Branch / Tag:
refs/heads/zstd-1.5.5 - Owner: https://github.com/czudf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@6367a0b44066dba4d4f10abe3e564588c13f5fd9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file zstd_bin-1.5.5-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: zstd_bin-1.5.5-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 505.7 kB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bab549912bb17467a1e3768b68db44986f315a0ca1de90eb295e2a9ad0069deb
|
|
| MD5 |
c75e07451e1e94a2243437486f5f7d96
|
|
| BLAKE2b-256 |
d8c763eeaf37af02f0175122588f4fe3a936f2cfb8979013d94e0a8b88e090b1
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zstd_bin-1.5.5-py3-none-manylinux_2_28_aarch64.whl -
Subject digest:
bab549912bb17467a1e3768b68db44986f315a0ca1de90eb295e2a9ad0069deb - Sigstore transparency entry: 1809300908
- Sigstore integration time:
-
Permalink:
czudf/zstd-bin@6367a0b44066dba4d4f10abe3e564588c13f5fd9 -
Branch / Tag:
refs/heads/zstd-1.5.5 - Owner: https://github.com/czudf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@6367a0b44066dba4d4f10abe3e564588c13f5fd9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file zstd_bin-1.5.5-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: zstd_bin-1.5.5-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 348.6 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47db879c6bce71f9a9e8dfe2e31ea9f27819405853ab59b01da6a0db8ba0fc53
|
|
| MD5 |
c5ab9fb98d21ebd7b3de52abe87f913b
|
|
| BLAKE2b-256 |
cc786ae23d780ced7bb2187ffc0a3df2394424bfb95c6207d9a69d342c25bdb7
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zstd_bin-1.5.5-py3-none-macosx_11_0_arm64.whl -
Subject digest:
47db879c6bce71f9a9e8dfe2e31ea9f27819405853ab59b01da6a0db8ba0fc53 - Sigstore transparency entry: 1809300850
- Sigstore integration time:
-
Permalink:
czudf/zstd-bin@6367a0b44066dba4d4f10abe3e564588c13f5fd9 -
Branch / Tag:
refs/heads/zstd-1.5.5 - Owner: https://github.com/czudf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@6367a0b44066dba4d4f10abe3e564588c13f5fd9 -
Trigger Event:
workflow_dispatch
-
Statement type: