A fully typed, validated async client for the Hyperliquid API.
Project description
Typed Hyperliquid
A fully typed, validated async client for the Hyperliquid API.
Use autocomplete instead of documentation.
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:
Infofor read-only request-response access to the info endpointExchangefor signed exchange actionsStreamsfor WebSocket subscriptionsHyperliquidas a convenience bundle of all three
Installation
pip install typed-hyperliquid
Documentation
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
typed_hyperliquid-0.1.4.tar.gz
(49.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typed_hyperliquid-0.1.4.tar.gz.
File metadata
- Download URL: typed_hyperliquid-0.1.4.tar.gz
- Upload date:
- Size: 49.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6198984ae47c2497575ab00123f9df49aee50d177c9cc735b037227ea252d83
|
|
| MD5 |
ca0c8a1724be842324bf40af9fae39ab
|
|
| BLAKE2b-256 |
5c266639242223dea829347b3b7e1d9cf4fdefd2a1e65efd735ee6ebb25495c3
|
File details
Details for the file typed_hyperliquid-0.1.4-py3-none-any.whl.
File metadata
- Download URL: typed_hyperliquid-0.1.4-py3-none-any.whl
- Upload date:
- Size: 110.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d14ce85829349090205a9a04baa1390424d42780b86192ef4d70062b7fb7659e
|
|
| MD5 |
d66eed9e96c80bec2b9395de227ba674
|
|
| BLAKE2b-256 |
e3458e5f0a4f51d1d03d6094c939e04d55c6f058f4ca1b19cc7c5912d9e05e09
|