Skip to main content

Typed Hyperliquid

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

PyPI version Python versions Docs License



from hyperliquid import Hyperliquid

async with Hyperliquid.ws(public=True) as client:
  stream = await client.streams.trades('BTC')
  async for msg in stream:
    for trade in msg:
      print(trade['px'], trade['sz'], trade['side'])

Why Typed Hyperliquid?

  • 🎯 Precise Types: Typed endpoint inputs and responses.
  • ✅ Runtime Validation: Validated responses by default.
  • ⚡ Async First: HTTP, WebSocket RPC, and subscriptions.
  • 📚 Full API Surface: client.info, client.exchange, and client.streams.

Installation

pip install typed-hyperliquid

How To

Reference

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-1.1.7.tar.gz (38.8 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-1.1.7-py3-none-any.whl (100.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for typed_hyperliquid-1.1.7.tar.gz
Algorithm Hash digest
SHA256 12a1b4e0e7fd234bc6c5082aa650fb348620debb1cf336d8ff467fa6e62987e5
MD5 fec8d9deafeebea98e7b63ce2d760cf2
BLAKE2b-256 f2d26b85ca731c7c3ec7c7f0bd7940d5560e46c222ef5ca2db0d49f40f29f6c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for typed_hyperliquid-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7517193690abe056e6042ae37db78f85a7bb4a613fc55f8fb5a7085445b90985
MD5 465420aedfbb6f60d180452c4b828a76
BLAKE2b-256 dce7bb2167c462e04e1911af0012d07e1c6fe7e06c0b4c6b71316058efca4fab

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 Sentry Error logging StatusPage Status page