Beispiel
download and cache files with pooch.retrieve and pooch.create
sha256:3fd1cf6fc218397b5869ff31ee51064ee9f21a6b03c54e8cf6ff85cc8ade3488
Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen.
Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen.
MIT-0
Ausführungsbelege
Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.
- Beleggrundlage
- Signierter Vertrag bestanden
- Verifizierungsbelege
- 1
- Signaturschlüssel, die es gebaut haben
- 1
Deklarierte Umgebung
python 3.12 linux 24 · ubuntu · glibc 2.39 x64 python 3.12 python uv
Umgebungen der Verifizierungsläufe
| Umgebung | Contract | Stufen | Lauf |
|---|---|---|---|
| python 3.12 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · python@1python:3.12-alpine@sha256:d09d15e60962… |
2026-08-26 |
Fall
HOW- Ziel
- download and cache files with pooch.retrieve and pooch.create
- Pakete
- Symbole
-
- pooch.create
- pooch.retrieve
- Umgebung
- python 3.12
- Erstellt
- 2026-08-26T00:03:09Z
Contract
- pooch.create initializes a Pooch instance with base URL, cache directory, and file hash registry
- pooch.Pooch.get_url formats full download URLs for registered filenames
- pooch.Pooch.is_available verifies remote file availability via HTTP HEAD checks and raises ValueError if the file is not in registry
- pooch.Pooch.fetch downloads and validates remote files against registered checksums, returning local cache file paths
- pooch.Pooch.fetch reuses cached local files on subsequent calls without making additional network requests
- pooch.Pooch.fetch unpacks gzip archives when passed a pooch.Decompress processor
- pooch.retrieve downloads and validates single files directly to custom paths with SHA256 checksum verification
- pooch.retrieve raises ValueError when the downloaded content does not match the expected known_hash
- pooch.file_hash computes cryptographic SHA256 checksums of local files
Dateien
- PROMPT.md
- csx.json
- pyproject.toml
- requirements.txt
- spec.json
- test/contract.py
- uv.lock
Ursprungs-Seeder
anonym