Give the install check a form the wheel carries

The line under `pip install hanzoai` was `python -m examples.models`, and
examples/ is in the sdist only — hatch's wheel target is pkg/hanzoai. So
the first command in the README answered ModuleNotFoundError to everyone
who installed the package the way the line above told them to.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-09-10 21:50:23 -07:00
co-authored by Hanzo Dev
parent 30a465e537
commit 39bc72bc09
+7 -5
View File
@@ -17,16 +17,18 @@ pip install hanzoai
Check the install without a key — `GET /v1/models` is public:
```bash
python -m examples.models
python -c 'from hanzoai.cloud import AiApi, ApiClient, Configuration
print(len(AiApi(ApiClient(Configuration())).get_models().data), "models")'
```
```
https://api.hanzo.ai serves 112 models, no credential required
all-mini-lm-l6-v2 · do-ai · $0.02/Mtok in
anthropic-claude-opus-5 · do-ai · $1/Mtok in
…
481 models
```
If it prints a count, the package imports, the host resolves and the client
speaks the API. `examples/models` prints the same catalogue with prices and is
in the sdist, not the wheel — clone the repo to run it.
## Quickstart
```python