Metadata-Version: 2.4
Name: typed-hyperliquid
Version: 0.1.3
Summary: A fully typed, validated async client for the Hyperliquid API.
Author-email: Marcel Claramunt <marcel@tribulnation.com>
License-Expression: GPL-3.0-only
Project-URL: Repository, https://github.com/tribulnation/hyperliquid.git
Project-URL: Documentation, https://hyperliquid.tribulnation.com
Project-URL: Website, https://tribulnation.com
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lazy-loader
Requires-Dist: httpx
Requires-Dist: pydantic
Requires-Dist: websockets
Requires-Dist: orjson
Requires-Dist: eth-account
Requires-Dist: msgpack
Dynamic: license-file

# Typed Hyperliquid

> A fully typed, validated async client for the Hyperliquid API.

**Use autocomplete instead of documentation.**

```python
from hyperliquid import Info

async with Info.http() as info:
  mids = await info.all_mids()
  print(mids['BTC'])
```

## Why Typed Hyperliquid?

- **🎯 Precise Types**: Strong typing throughout, so your editor can help before runtime does.
- **✅ Automatic Validation**: Catch upstream API changes earlier, where they are easier to debug.
- **⚡ Async First**: Built for concurrent, network-heavy workflows.
- **🔒 Safer Usage**: Typed inputs and explicit errors reduce avoidable mistakes.
- **🎨 Better DX**: Clear routing, sensible defaults, and minimal ceremony.
- **📦 Practical Extras**: HTTP, request-response WS, streams, and exchange actions under one package.

## Package Shape

This package exposes four public entry points:

- `Info` for read-only request-response access to the info endpoint
- `Exchange` for signed exchange actions
- `Streams` for WebSocket subscriptions
- `Hyperliquid` as a convenience bundle of all three

## Installation

```bash
pip install typed-hyperliquid
```

## Documentation

> [**Read the docs**](https://hyperliquid.tribulnation.com)
