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.0

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.0
File Size Uploaded
typed_bybit-0.3.0.tar.gz 287.8 kB Details

Built distribution (wheel)

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

Total release size: 994.8 kB

Release files / typed_bybit-0.3.0.tar.gz

Download URL typed_bybit-0.3.0.tar.gz
Size 287.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d3c9994accfa2b61b4be87fe23efd2c633749feda7dd854ec2134c716507bfde
BLAKE2b-256 checksum
How to use checksums
8168bdf559acf0c6e9c3a168e5076a294e760d051531fef1018d0b414eb23be3
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 10, 2026.

Transparency log

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

Download URL typed_bybit-0.3.0-py3-none-any.whl
Size 707.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
882d9b80b2c395727dc0234fae71b7f218da988a762cc609b57bf4e856439808
BLAKE2b-256 checksum
How to use checksums
179c029fb1702392f577e104780dc21320bea8f1172be99240b6b2c151972273
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 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

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