Skip to main content

Typed Bybit

A fully typed, validated async client for the Bybit v5 API.

PyPI version Python versions Docs License



from typed_bybit import Bybit

async with Bybit.new(public=True) as client:
  ticker = await client.market.tickers(category='spot', symbol='BTCUSDT')
  print(ticker['list'][0]['lastPrice'])

Why Typed Bybit?

  • 🎯 Precise Types: Typed inputs and responses across REST and WebSocket, discriminated by product category, for trading, positions, account, assets, and earn products alike.
  • ✅ Runtime Validation: Responses and pushed stream messages validated by default.
  • ⚡ Async First: One shared HTTP pool and nine lazily-opened WebSocket connections, built for concurrent workflows.
  • 📚 Full Surface: Nearly the entire documented v5 REST and WebSocket surface — market data, order entry, positions, account, assets, earn, and more.

Installation

pip install typed-bybit

How To

Reference

Design Philosophy

Typed Bybit follows the principles outlined in this blog post.

Details matter. Developer experience matters.

License

MIT — see LICENSE.

Metadata

Release files for typed-bybit 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typed-bybit 0.3.1
File Size Uploaded
typed_bybit-0.3.1.tar.gz 287.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for typed-bybit 0.3.1
File Interpreter ABI Platform
typed_bybit-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 994.8 kB

Release files / typed_bybit-0.3.1.tar.gz

Download URL typed_bybit-0.3.1.tar.gz
Size 287.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0a0d4e32248e9a1b5d44155aa4a819586e85145ac6f40e56b6dff95c38b266d7
BLAKE2b-256 checksum
How to use checksums
e754e1c421f30d83c9edaa187f080001e9557c8c6da48381b25611ab4af837af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release files / typed_bybit-0.3.1-py3-none-any.whl

Download URL typed_bybit-0.3.1-py3-none-any.whl
Size 707.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d3b5559a00da1cd376e494cfc1612ceac90683d62bea1fa6b4f38676b0e02d1
BLAKE2b-256 checksum
How to use checksums
97599fd62ee5fa03746c617ea7aae650591d0392cc76b39f94819486cb51bf33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.3

2 release files

0.3.2

2 release files

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page