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

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.4
File Size Uploaded Provenance Actions
typed_bybit-0.3.4.tar.gz 288.0 kB With provenance Details for typed_bybit-0.3.4.tar.gz

Built distribution (wheel)

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

Total release size: 995.1 kB

Release files / typed_bybit-0.3.4.tar.gz

Download URL typed_bybit-0.3.4.tar.gz
Size 288.0 kB
Tags Source
SHA-256 checksum
How to use checksums
45f461b375b11909443597c5ccd6eacf971647e49284c7beb05822b3a302a985
BLAKE2b-256 checksum
How to use checksums
1f19607b2ca8e4bdab12050f60e1c0ba66370ca529b2577939e4cee391dbf307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 19, 2026.

Transparency log

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

Download URL typed_bybit-0.3.4-py3-none-any.whl
Size 707.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f0722cf08dd2ed6a64d68e4e20bb668102b71069a5593fa2473cfde6e77184d
BLAKE2b-256 checksum
How to use checksums
3dd91a1421153be9fda5e252a7e4728d06188542969d8ab5e846b263679e9dbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 19, 2026.

Transparency log

Security for typed-bybit 0.3.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for typed_bybit-0.3.4.tar.gz

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 Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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