Skip to main content

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:

  • 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

pip install typed-hyperliquid

Documentation

Read the docs

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.3.tar.gz (49.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typed_hyperliquid-0.1.3-py3-none-any.whl (110.1 kB view details)

Uploaded Python 3

File details

Details for the file typed_hyperliquid-0.1.3.tar.gz.

File metadata

  • Download URL: typed_hyperliquid-0.1.3.tar.gz
  • Upload date:
  • Size: 49.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for typed_hyperliquid-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c081b74baaaf775bf087db824efbe14c7cc7602bc7b40fb935c5f75155f52450
MD5 cdeaf88b8d2634da2acfb95cdd7ebdac
BLAKE2b-256 cfb1e67e7e1ffee007b7cd4fbb278f7417b00ee67b13ef9998b5560eb5febd19

See more details on using hashes here.

File details

Details for the file typed_hyperliquid-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for typed_hyperliquid-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0c28ba13f42f40ab89efd93b8702b9e859f6573374b7c7fe5b10da3228f3d2bf
MD5 0854fa29faca96ee2a45814aa6031adf
BLAKE2b-256 fcc153b213338096b65e6060364afdd21329e17f83ff435e605d8d3b8544a927

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page