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

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.2
File Size Uploaded
typed_bybit-0.3.2.tar.gz 287.7 kB Details

Built distribution (wheel)

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

Total release size: 994.8 kB

Release files / typed_bybit-0.3.2.tar.gz

Download URL typed_bybit-0.3.2.tar.gz
Size 287.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5df504cb47d7b0fe82c6aacfd267e2149ecbec976b606d45f25864b153fc721a
BLAKE2b-256 checksum
How to use checksums
2c47096d0e21888834908db36e7cf690936b42fb5d02d9be2eff59b8b38f96ae
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 20, 2026.

Transparency log

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

Download URL typed_bybit-0.3.2-py3-none-any.whl
Size 707.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2d05ba43990cac0dfb97e730ac8dc61aa4c4144abe84c16fc470514a18c383e
BLAKE2b-256 checksum
How to use checksums
be44ab9ebc1930932cf96a55404d37e95ffed8e687393bfc82a8f28e70ef45d6
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 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.3

2 release files

This release

0.3.2 This release

2 release files

0.3.1

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