Metadata-Version: 2.4
Name: hugpy-storage
Version: 0.2.21
Summary: Hugpy storage: model download queue and daemon, Hugging Face transport and token, resumable transfers, model sync, physical inventory and on-disk model layout
Author-email: putkoff <support@hugpy.ai>
License-Expression: LicenseRef-Proprietary
Project-URL: Homepage, https://hugpy.ai
Project-URL: UI, https://www.npmjs.com/package/@hugpy/ui
Project-URL: Documentation, https://hugpy.ai/docs
Project-URL: Downloads, https://hugpy.ai/downloads/
Keywords: hugpy,llm,self-hosted,huggingface,downloads,model-storage,gguf
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: abstract-flask>=0.0.0.1079
Requires-Dist: abstract_essentials
Requires-Dist: hugpy-downloader<0.2,>=0.1.0
Requires-Dist: hugpy-resources<0.2,>=0.1.17.29
Requires-Dist: huggingface_hub>=0.20
Requires-Dist: requests>=2.28
Requires-Dist: pydantic>=2
Requires-Dist: flask>=2
Provides-Extra: test
Requires-Dist: pytest>=8; extra == "test"
Requires-Dist: pytest-timeout; extra == "test"
Provides-Extra: engine
Requires-Dist: hugpy-engine<0.4; extra == "engine"
Dynamic: license-file

# hugpy-storage

Hugpy Storage manages model transfer jobs, synchronizes model directories from a central store and reports the state of local model storage.

## Installation

Install on a host that holds a model store or participates in a configured central transfer service.

```sh
python -m pip install hugpy-storage
```

## Quick start

Inspect the configured paths, catalog and download daemon. Preview which supporting files are missing from an existing store.

```sh
hugpy-storage status
hugpy-storage complete --store /data/models --dry-run
```

## Storage operations

| Command | Purpose |
| --- | --- |
| `hugpy-storage sync --central URL --list` | List the models offered by a compatible central transfer service. |
| `hugpy-storage sync --central URL --model KEY --root DIR` | Pull a selected model to the local root. |
| `hugpy-storage daemon` | Claim transfer jobs from the shared comms queue. `hugpy-storage-downloader` starts the same daemon. |
| `hugpy-storage complete --store DIR` | Retrieve missing supporting files and receipts for models already present. Weights are outside this operation. |

Use `--report FILE` with `complete` to save a machine-readable report. `hugpy-model-catalog` is the separate catalog command. For hash-verified provider downloads into Discovery’s flat store, use the separate `hugpy-downloader` distribution.
