hugpy-downloader
Hugpy Downloader plans and verifies model downloads from Hugging Face and Civitai. It compares provider records with local inventory, reuses matching files and merges downloads into a store organized by creator and model.
Installation
For the first release, install from this package source directory using Python 3.11 or later and the matching staged dependencies. From the bundle root, use python -m pip install ./package.
python -m pip install .
Quick start
Inspect the store configuration, then preview a download. Replace OWNER/REPOSITORY and the store path with your own values. Planning reads provider metadata and reports the files and bytes needed.
hugpy-downloader status
hugpy-downloader plan hf:OWNER/REPOSITORY --store /data/models --json
Run fetch with the same target and store to transfer the files. Use --version to select a Hugging Face revision and --file to select paths or globs. Civitai accepts civitai/VERSION_ID or a model version URL.
Integrity and recovery
The planner can consult Discovery’s inventory read-only. A matching published SHA-256 establishes a verified copy. verify DIRECTORY --json hashes the local weights, updates their records and distinguishes verified files, mismatches and files with only a local digest. When replacing a mismatched file, the downloader retains the old file beside it with a .mismatch- suffix.
Queued downloads
hugpy-downloader queue add hf:OWNER/REPOSITORY --store /data/models
hugpy-downloader queue list --json
hugpy-downloader daemon --once
The queue returns a job ID. Use queue show ID to inspect progress and the classified failure reason. queue cancel ID and queue retry ID operate on an individual job. The daemon serializes writes to each destination and can expose a loopback API with --http.
Core can forward catalog and queue requests from /api/downloads/ when the daemon’s loopback API is enabled on the same host. The default listener port is 8767. Use --port to change it and configure Core to match.
Metadata
Release files for hugpy-downloader 0.1.0.3
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 |
|---|---|---|---|---|
| hugpy_downloader-0.1.0.3.tar.gz | 65.1 kB | Without provenance | Details for hugpy_downloader-0.1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hugpy_downloader-0.1.0.3-py3-none-any.whl | Python 3 | none | any | Details for hugpy_downloader-0.1.0.3-py3-none-any.whl |
Total release size: 134.7 kB
Release files / hugpy_downloader-0.1.0.3.tar.gz
| Download URL | hugpy_downloader-0.1.0.3.tar.gz |
|---|---|
| Size | 65.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd32c5ad8a01608fd95db5d47ba0ac6e7d9c173209d8e7f312c7da5db85824dd
|
|
BLAKE2b-256 checksum How to use checksums |
d23ce37cfe955132c2f2f9f20ede27e549b2de092452e08700841b800f12fec2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / hugpy_downloader-0.1.0.3-py3-none-any.whl
| Download URL | hugpy_downloader-0.1.0.3-py3-none-any.whl |
|---|---|
| Size | 69.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd6ca0c0351b743fad4c9cfa78898a69339d4c0c3307a14d26c16587aba7d56a
|
|
BLAKE2b-256 checksum How to use checksums |
dd3a2f3deffe5aa431d53d62d09f9ea9bab1325a81e2a8e788b60d3b0c83b96e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for hugpy-downloader 0.1.0.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.