zlib-fast
Documentation: https://zlib-fast.readthedocs.io
Source Code: https://github.com/bluetooth-devices/zlib-fast
A wrapper to use the fastest available zlib
zlib is be a bottleneck for creating backups with tarfile. zlib-fast replaces usage of zlib with isal which is a drop-in faster replacement.
Unlike the base isal implementation, this module maps zlib compression
levels for compressobj to their nearest isal equivalent which allows
it to be used as a drop in replacement with tarfile.
Installation
Install this via pip (or your favourite package manager):
pip install zlib-fast
Usage
Enable zlib-fast support by calling zlib_fast.enable().
import zlib_fast
zlib_fast.enable()
zlib_fast.disable()
The most common use case is for use with tarfile which does a late import. enable will only be effective for future imports of zlib, and will not redirect existing imports. If you need to use this module for other use cases, be sure to call zlib_fast.enable() before any code that loads zlib.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Credits
This package was created with Copier and the browniebroke/pypackage-template project template.
Metadata
Release files for zlib-fast 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zlib_fast-0.2.1.tar.gz | 9.4 kB | With provenance | Details for zlib_fast-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zlib_fast-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for zlib_fast-0.2.1-py3-none-any.whl |
Total release size: 19.3 kB
Release files / zlib_fast-0.2.1.tar.gz
| Download URL | zlib_fast-0.2.1.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98378cad89c938531bb1c0ac20626a15416a66166376e59516cf522b51b1993a
|
|
BLAKE2b-256 checksum How to use checksums |
9768e76a96845bbb989e1e97728dbc0d2f13c5ac7b34ba2761d85b2db394356a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2025.
Transparency logRelease files / zlib_fast-0.2.1-py3-none-any.whl
| Download URL | zlib_fast-0.2.1-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b86e5066fb42587388a3b508199b9deb36f7d068efa4766dd276d5475cc76100
|
|
BLAKE2b-256 checksum How to use checksums |
3664afb6431595cab46e412c9115db4d0a3ee9bc9eb30f6336f8b575053bce81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2025.
Transparency logSecurity for zlib-fast 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for zlib_fast-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 22, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.