Ejemplo
download and cache files with pooch.retrieve and pooch.create
sha256:3fd1cf6fc218397b5869ff31ee51064ee9f21a6b03c54e8cf6ff85cc8ade3488
Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido.
Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas.
MIT-0
Evidencia de ejecución
El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.
- Base de evidencia
- Contrato firmado aprobado
- Recibos de verificación
- 1
- Claves de firma que lo compilaron
- 1
Entorno declarado
python 3.12 linux 24 · ubuntu · glibc 2.39 x64 python 3.12 python uv
Entornos de las ejecuciones de verificación
| Entorno | Contrato | Etapas | Ejecución |
|---|---|---|---|
| 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 |
Caso
HOW- Objetivo
- download and cache files with pooch.retrieve and pooch.create
- Paquetes
- Símbolos
-
- pooch.create
- pooch.retrieve
- Entorno
- python 3.12
- Creado
- 2026-08-26T00:03:09Z
Contrato
- 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
Archivos
- PROMPT.md
- csx.json
- pyproject.toml
- requirements.txt
- spec.json
- test/contract.py
- uv.lock
Seeder de origen
anónimo