pooch-rattler
Pooch downloader powered by Rattler.
Features
- Native Rust performance
- Work with
anyio,asyncioandtrio - Drop-in replacement of the global default Pooch downloader
- Reqwest middlewares which bring the missing GCS, S3 and retry support in Pooch
Get started
import anyio.to_thread
import pooch
import pooch_rattler
# Register global default
pooch_rattler.install()
# Synchronous download
downloaded_file = pooch.retrieve("https://example.com/index.html")
# Asynchronous download
async def async_download():
# We still need a worker thread to look for existing cache,
# validate checksums and decompress downloaded files
return await anyio.to_thread.run_sync(
pooch.retrieve, "https://example.com/index.html")
cached_file = anyio.run(async_download)
assert cached_file == downloaded_file
Downloaders can also be created and invoked explicitly. Examples can be found in the unit tests.
Resumable downloader
Resumable downloader provides functionality like curl -C - (man page).
It's not the default behavior due to the following limitations:
- The server must know how to handle HTTP range requests, otherwise the downloaded file can be corrupted since there is no way to read response headers into Python from Rattler.
- Resumable downloader also introduces slightly more Python overhead even if no actual resumption takes place.
Resumable downloader supports most of the features described in the previous
sections. To use it, replace your pooch_rattler.Downloader with
pooch_rattler.ResumableDownloader.
Metadata
Release files for pooch-rattler 0.4.0
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 | |
|---|---|---|---|---|
| pooch_rattler-0.4.0.tar.gz | 8.3 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pooch_rattler-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / pooch_rattler-0.4.0.tar.gz
| Download URL | pooch_rattler-0.4.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c33c09586c3eeba72b0d81f54417f5e1fdc2a9fd73040a0ea4d207a9019e8fcc
|
|
BLAKE2b-256 checksum How to use checksums |
2a1cfa6d1fc0301a780a8b79fe405bc5f1644d51df7829caea40963538227736
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 Oct 25, 2026.
Transparency logRelease files / pooch_rattler-0.4.0-py3-none-any.whl
| Download URL | pooch_rattler-0.4.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4bc2b946bd60f8968e42c65c1fae21009872eed396b035978a1b7e8721b149aa
|
|
BLAKE2b-256 checksum How to use checksums |
64613622c40066522e8476564fd27882b7b3ea51695f1487144863737fc4b4d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
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 Oct 25, 2026.
Transparency logSecurity for pooch-rattler 0.4.0
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pooch_rattler-0.4.0.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 Oct 25, 2026.
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.