Skip to main content

Orderbook

License Python PyPi coverage-lines coverage-functions

A fast L2/L3 orderbook data structure, in C, for Python

Installation

Python 3.13+ supported. uv is preferred and will be utilized throughout this document.

To add it to a project uv add order-book or, to install it into an environment directly, uv pip install order-book

Installing from a checkout of this repository: uv pip install . (note a C compiler is required).

Basic Usage

from decimal import Decimal

import requests
from order_book import OrderBook

ob = OrderBook()

# get some orderbook data
data = requests.get("https://api.exchange.coinbase.com/products/BTC-USD/book?level=2").json()

ob.bids = {Decimal(price): size for price, size, _ in data['bids']}
ob.asks = {Decimal(price): size for price, size, _ in data['asks']}

# OR

for side in data:
    # there is additional data we need to ignore
    if side in {'bids', 'asks'}:
        ob[side] = {Decimal(price): size for price, size, _ in data[side]}


# Data is accessible by .index(), which returns a tuple of (price, size) at that level in the book
price, size = ob.bids.index(0)
print(f"Best bid price: {price} size: {size}")

price, size = ob.asks.index(0)
print(f"Best ask price: {price} size: {size}")

print(f"The spread is {ob.asks.index(0)[0] - ob.bids.index(0)[0]}\n\n")

# Negative indexes work as well, so the worst bid/ask is index -1
print(f"Worst bid: {ob.bids.index(-1)}")

# Data is accessible via iteration
# Note: bids/asks are iterators
print("Top 10 bids")
for count, price in enumerate(ob.bids):
    if count == 10:
        break
    print(f"Price: {price} Size: {ob.bids[price]}")


print("\n\nTop 10 asks")
for count, price in enumerate(ob.asks):
    if count == 10:
        break
    print(f"Price: {price} Size: {ob.asks[price]}")


# Membership tests and len() work as expected
print(f"\nBest bid still in book: {ob.bids.index(0)[0] in ob.bids}")
print(f"Bid levels: {len(ob.bids)}, ask levels: {len(ob.asks)}, both sides: {len(ob)}")


# Data can be exported to a sorted dictionary
# In Python3.7+ dictionaries remain in insertion ordering. The
# dict returned by .to_dict() has had its keys inserted in sorted order
print("\n\nTop 3 asks, as a dictionary")
print(dict(list(ob.asks.to_dict().items())[:3]))


# Data can also be exported as an ordered list
# .to_list() returns a list of (price, size) tuples
print("\nTop 5 Asks")
print(ob.asks.to_list()[:5])
print("\nTop 5 Bids")
print(ob.bids.to_list()[:5])


# .keys() returns the sorted prices as a tuple
print("\nTop 5 ask prices")
print(ob.asks.keys()[:5])


# .items() returns an iterator over price, size pairs
print("\nTop 5 asks as (price, size) pairs")
for count, (price, size) in enumerate(ob.asks.items()):
    if count == 5:
        break
    print(f"Price: {price} Size: {size}")


# The entire book can be exported at once. The keys are 'bid' and 'ask' (singular)
book = ob.to_dict()
print(f"\nto_dict() keys: {list(book)}")

Both sides accept any of bid, bids, BID, BIDS (and the ask equivalents), as attributes or as keys:

from order_book import OrderBook

ob = OrderBook()

ob.bids[100] = "1.5"     # attribute access
ob['bids'][99] = "2.0"   # key access
ob['BID'][98] = "0.5"    # case does not matter

print(ob.bid.to_list())  # [(100, '1.5'), (99, '2.0'), (98, '0.5')]

# assigning a dict to a side replaces that side wholesale
ob.asks = {101: "1.0", 102: "3.0"}
print(ob.asks.to_list())  # [(101, '1.0'), (102, '3.0')]

# levels are removed with del
del ob.asks[101]
print(ob.asks.to_list())  # [(102, '3.0')]

Max Depth

max_depth limits how many levels are visible. len(), iteration, keys(), index(), to_dict() and to_list() all respect it.

from order_book import OrderBook

ob = OrderBook(max_depth=3)
ob.bids = {price: price for price in range(10)}

print(len(ob.bids))        # 3
print(ob.bids.to_list())   # [(9, 9), (8, 8), (7, 7)]
print(ob.max_depth)        # 3

By default the levels beyond max_depth are still retained internally, they are just hidden. Pass max_depth_strict=True to have them deleted as the book is updated, which caps memory use but means out-of-depth levels can no longer be accessed:

from order_book import OrderBook

ob = OrderBook(max_depth=3, max_depth_strict=True)
for price in range(10):
    ob.bids[price] = price

print(ob.bids.to_list())   # [(9, 9), (8, 8), (7, 7)]

try:
    del ob.bids[0]         # level 0 was dropped, not merely hidden
except KeyError:
    print("level 0 is gone")

Checksums

Several exchanges publish a CRC32 checksum of the top of book so clients can detect a desynchronized book. Construct the book with checksum_format set to the exchange, then compare ob.checksum() against the value the exchange sent.

Supported formats: KRAKEN, OKX/OKCOIN, BITGET, and BITFINEX.

from decimal import Decimal

from order_book import OrderBook

ob = OrderBook(checksum_format='KRAKEN')

ob.bids = {Decimal(f"{100 - i}.{i:02d}"): Decimal(f"{i + 1}.5") for i in range(10)}
ob.asks = {Decimal(f"{101 + i}.{i:02d}"): Decimal(f"{i + 1}.5") for i in range(10)}

print(ob.checksum())

Type conversion

to_dict() on either an OrderBook or a SortedDict accepts from_type and to_type keyword arguments, which convert keys and values as the dictionary is built. from_type restricts the conversion to values of that type; omit it to convert everything.

from order_book import OrderBook

ob = OrderBook()
ob.bids = {'1.1': 2, '3.3': 4}
ob.asks = {'5.5': 6, '7.7': 8}

print(ob.to_dict(from_type=str, to_type=float))
# {'bid': {3.3: 4, 1.1: 2}, 'ask': {5.5: 6, 7.7: 8}}
# note the bid side is in descending order, as always

API Summary

OrderBook(max_depth=0, max_depth_strict=False, checksum_format=None)

Member Description
.bids / .bid / .asks / .ask the SortedDict for that side; assigning a dict replaces the side
ob[key] same sides, by key. bid, bids, ask, asks, any case
.max_depth the configured max depth (read only)
.to_dict(from_type=None, to_type=None) {'bid': {...}, 'ask': {...}}
.checksum() CRC32 checksum in the configured exchange's format
len(ob) total number of levels across both sides

SortedDict(data=None, ordering='ASC', max_depth=0, truncate=False)

Member Description
.keys() tuple of keys in sorted order
.index(n) (key, value) tuple at position n; negative indexes supported
.to_dict(from_type=None, to_type=None) dict with keys inserted in sorted order
.to_list() list of (key, value) tuples in sorted order
.truncate() drop everything past max_depth
sd[key], sd[key] = v, del sd[key], key in sd, len(sd), iteration as expected; iteration yields keys in sorted order

max_depth is a view limit: len(), keys(), index(), to_dict(), to_list() and iteration stop at it, while sd[key] and key in sd see every retained level. max_depth=0 means no limit.

Main Features

  • Sides maintained in correct order
  • Can perform orderbook checksums
  • Supports max depth and depth truncation
  • Free-threaded Python support

Running code coverage

The script coverage.sh will compile the source using the -coverage CFLAG, run the unit tests, and build a coverage report in HTML. It manages its own environment via uv, so it can be run directly.

Note that it rebuilds .venv with an instrumented, unoptimized-for-timing build, so re-run uv pip install ".[tests]" afterwards to get back to a normal development environment.

Performance

perf/performance_test.py replays realistic exchange activity against real BTC-USD order books captured from Coinbase and cached in perf/data/, so runs are reproducible and need no network access. The event streams are generated deterministically from a seed and modeled on how feeds actually behave: 90% of activity clusters near the top of book and the rest spreads across the whole window, L2 traffic is mostly size updates with level adds and deletes held in balance so depth stays stationary, L3 traffic is order-level against the book's real resting orders with adds and cancels likewise balanced.

uv run perf/performance_test.py                       # everything
uv run perf/performance_test.py --scenario l3         # one scenario
uv run perf/performance_test.py --ops 1000000 --depth 5000 --seed 7
uv run perf/capture.py                                # refresh the cached snapshots

Numbers below are from Python 3.14, a replay window of the top 2,000 levels per side, a top-of-book read every 10 events, 200,000 events (20,000 for the pure Python book, which only degrades further the longer it runs). Throughput is the median of 5 passes.

L2 replay

library ns/event throughput
order_book 137 7.3M events/s
sortedcontainers 314 3.2M events/s
pure python 5,676 176K events/s

L3 replay

library ns/event throughput
order_book 190 5.3M events/s
sortedcontainers 416 2.4M events/s
pure python 2,839 352K events/s

Snapshot load

library time
order_book 3.8 ms
sortedcontainers 25.4 ms
pure python 5.7 ms

Exchange checksums

Exchange L2 Book time L3 Book time
Kraken 1.9 µs
OKX 4.6 µs
Bitget 4.3 µs
Bitfinex 4.3 µs 5.3 µs

Changelog

1.2.0 (2026-10-29)

  • Feature: Python 3.15 and 3.15t support
  • Feature: SortedDict takes data as a keyword and max_depth=0 for no limit, as OrderBook does
  • Feature: side names (bid, bids, ask, asks) are accepted in any case
  • Bugfix: a level cancelled and re-quoted between reads kept the original key object in the sorted cache, so keys(), index() and checksums could render a stale object (1.0 for 1.00)
  • Bugfix: BITGET checksums rendered small values in scientific notation; the wire string is hashed, as for OKX
  • Bugfix: Kraken checksums lost the digits of a value with a positive exponent (2E+3)
  • Bugfix: max_depth_strict was not applied when a side was assigned wholesale or __init__ was re-run
  • Bugfix: assigning __max_depth, __truncate or __ordering could crash the interpreter
  • Bugfix: subclasses of OrderBook could not set their own attributes
  • Bugfix: on free-threaded builds, reading max_depth, __max_depth, __truncate or __ordering while another thread re-initialised the book was a data race
  • Performance: deleting a price that is not in the book no longer forces a full re-sort on the next read
  • Performance: checksums snapshot only the levels they hash, so the cost no longer grows with book depth
  • Performance: max_depth_strict eviction is O(1) per insert instead of copying every key
  • Performance: depth-limited reads copy only the visible keys
  • Update: a wrong argument type raises TypeError (was ValueError) and an out of range max_depth raises OverflowError
  • Update: ~400 fewer lines of C. Type tables out of the headers, the cached keys tuple and module state gone, duplicated paths consolidated

1.1.0 (2026-09-02)

  • Update: Remove FTX checksum support
  • Feature: free-threaded python (3.13+) support

1.0.2 (2026-08-15)

  • Feature: Bitfinex checksum support for L3 books
  • Bugfix: symbol collision between orderbook's crc32 and zlib's

1.0.1 (2026-08-13)

  • Feature: Bitfinex checksum support

1.0.0 (2026-08-07)

  • Feature: issue #14 .items() iterator on book sides
  • Update: Add more unit tests to increase code coverage
  • Bugfix: reference / memory leaks
  • Bugfix: .index() not properly respecting max_depth
  • Bugfix: failed delete no longer invalidates the cached keys
  • Bugfix: issue #31 sortedDict iterator revamp
  • Performance: change setitem to only do one lookup vs two (remove pydict_contains lookup)
  • Performance: checksum now requires hardware support
  • Performance: simplify side lookups
  • Performance: to_dict special path when no type conversion needed
  • Performance: incremental key cache for small changes between reads

0.7.0 (2026-08-05)

  • Update: Modernize project (uv, pyproject.toml, etc)
  • Update: Update readme, tests, examples, etc
  • Update: revamp wheel building

0.6.1 (2024-04-22)

  • Update: to_list's behavior matches that of to_dict (respects max_depth, if set).
  • Update: resolve build warnings on some compilers.

0.6.0 (2022-10-19)

  • Update: Drop support for python 3.7
  • Feature: to_list method
  • Bugfix: Initialize iterator correctly

0.5.0 (2022-08-23)

  • Bugfix: fix segmentation fault when calculating checksum on empty orderbook
  • Bugfix: fix missing reference decrement
  • Performance: Improvement to marking dirty keys

0.4.3 (2022-05-29)

  • Bugfix: handle scientific notation of small values in Kraken checksum
  • Update: calculate Kraken checksum on order books less than 10 levels deep
  • Bugfix: fix occasional incorrect checksums for OKX, FTX and Bitget

0.4.2 (2022-04-17)

  • Update: OKEx renamed OKX (for checksum validation)
  • Feature: Add support for orderbook checksums with Bitget

0.4.1 (2021-10-12)

  • Bugfix: unnecessary reference counting prevented sorted dictionaries from being deallocated
  • Bugfix: setting ordering on a sorted dict before checking that it was created successfully

0.4.0 (2021-09-16)

  • Feature: changes to code and setup.py to enable compiling on windows
  • Feature: add from_type/to_type kwargs to the to_dict methods, allowing for type conversion when creating the dictionary

0.3.2 (2021-09-04)

  • Bugfix: depth was incorrectly ignored when converting sorteddict to python dict

0.3.1 (2021-09-01)

  • Bugfix: truncate and max_depth not being passed from orderbook to sorteddict object correctly
  • Feature: let checksum_format kwarg be set to None

0.3.0 (2021-07-16)

  • Update classifiers to indicate this projects only supports MacOS/Linux
  • Bugfix: Using less than the minimum number of levels for a checksum with Kraken not raising error correctly
  • Update: add del examples to test code

0.2.1 (2021-03-29)

  • Bugfix: Invalid deallocation of python object

0.2.0 (2021-03-12)

  • Feature: Add branch prediction hints around error handling code
  • Bugfix: Fix regression from adding branch predictors
  • Bugfix: Fix error corner case when iterating twice on an empty dataset
  • Feature: Add contains function for membership test
  • Bugfix: Fix issues around storing L3 data
  • Feature: Enhance testing, add in L3 book test cases

0.1.1 (2021-02-12)

  • Feature: Checksum support for orderbooks
  • Feature: FTX checksum support
  • Feature: Kraken checksum support
  • Feature: OkEX/OKCoin checksum support
  • Perf: Use CRC32 table to improve performance of checksum code

0.1.0 (2021-01-18)

  • Minor: Use enums to make code more readable
  • Bugfix: Add manifest file to ensure headers and changes file are included in sdist builds
  • Feature: Add support for max depth and depth truncation

0.0.2 (2020-12-27)

  • Bugfix: Fix sorted dictionary arg parsing
  • Feature: Coverage report generation for C library
  • Bugfix: Fix reference counting in index method in SortedDict
  • Feature: New unit tests to improve SortedDict coverage
  • Feature: Modularize files
  • Feature: Add ability to set bids/asks to dictionaries via attributes or [ ]
  • Docs: Update README with simple usage example

0.0.1 (2020-12-26)

  • Initial Release

Metadata

Release files for order-book 1.2.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 order-book 1.2.0
File Size Uploaded Provenance Actions
order_book-1.2.0.tar.gz 57.6 kB With provenance Details for order_book-1.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for order-book 1.2.0
File Actions
order_book-1.2.0-cp315-cp315t-musllinux_1_2_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64 Details for order_book-1.2.0-cp315-cp315t-musllinux_1_2_x86_64.whl
order_book-1.2.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for order_book-1.2.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
order_book-1.2.0-cp315-cp315t-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 Details for order_book-1.2.0-cp315-cp315t-macosx_11_0_arm64.whl
order_book-1.2.0-cp315-cp315-musllinux_1_2_x86_64.whl CPython 3.15 CPython 3.15 Linux musl 1.2+ x86-64 Details for order_book-1.2.0-cp315-cp315-musllinux_1_2_x86_64.whl
order_book-1.2.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for order_book-1.2.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
order_book-1.2.0-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details for order_book-1.2.0-cp315-cp315-macosx_11_0_arm64.whl
order_book-1.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details for order_book-1.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl
order_book-1.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for order_book-1.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
order_book-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details for order_book-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl
order_book-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for order_book-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl
order_book-1.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details for order_book-1.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
order_book-1.2.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for order_book-1.2.0-cp314-cp314-macosx_11_0_arm64.whl
order_book-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for order_book-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
order_book-1.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for order_book-1.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
order_book-1.2.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for order_book-1.2.0-cp313-cp313-macosx_11_0_arm64.whl

Total release size: 1.6 MB

Release files / order_book-1.2.0.tar.gz

Download URL order_book-1.2.0.tar.gz
Size 57.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6540ad5d612c5aefc7457a9f3ad7cb2c631edb743a2cd100769c6f844f6d5206
BLAKE2b-256 checksum
How to use checksums
f11c669b544abf1c96081fd5f55de5db84c6349d68793cc167174e9680b13421
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp315-cp315t-musllinux_1_2_x86_64.whl

Download URL order_book-1.2.0-cp315-cp315t-musllinux_1_2_x86_64.whl
Size 154.8 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
874e8df157c93226f8178b6d8916c54d4b4f9b76bf79ee6edc36fe323053ae64
BLAKE2b-256 checksum
How to use checksums
62a341eb61e6793ec6b2fb34cc769f6c3cfd6a553b843689109f7a5e7575fb0a
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL order_book-1.2.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 158.1 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6097b2df624fd3e5b2f79a720eb79a26541517bb755db09ef6044446a1e07052
BLAKE2b-256 checksum
How to use checksums
30b267cd106b2383c7175e247507980a58e8e8e14e482c216f3934f2b0372f44
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp315-cp315t-macosx_11_0_arm64.whl

Download URL order_book-1.2.0-cp315-cp315t-macosx_11_0_arm64.whl
Size 40.6 kB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f2d7dbd6b7f4bca90d1e1a2c0769eac96877ee0b3baedcf501e3f2511cb46119
BLAKE2b-256 checksum
How to use checksums
52554c8c92c1a885ccbb8628789f7493747d8aa27cc076bb17296faa5858ee70
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp315-cp315-musllinux_1_2_x86_64.whl

Download URL order_book-1.2.0-cp315-cp315-musllinux_1_2_x86_64.whl
Size 120.5 kB
Tags CPython 3.15 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
1807ce59be3ef95ae486783e5deeca38f17ffa3c7b5071aa24929399103aca82
BLAKE2b-256 checksum
How to use checksums
562c7868570ae5a4240f1a11eca3c5713cf3b03896c49658f1d5b0f601e00493
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL order_book-1.2.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 122.6 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7daa2d1bbd8f4d54e08373b31d3cb240232a0788950ec6d8182de6686c759879
BLAKE2b-256 checksum
How to use checksums
28085f1f468a44a81abf735d59ae3fdaf2169a8a71622bfb854e312b4b50c8b2
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp315-cp315-macosx_11_0_arm64.whl

Download URL order_book-1.2.0-cp315-cp315-macosx_11_0_arm64.whl
Size 40.4 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b4daab3b62cb2b19325063dae7880920d29896b652496b4ae8b4403b604d99ab
BLAKE2b-256 checksum
How to use checksums
741cb96342b34f6ccaa8c166e513362e4a8298c55c4e333a881ac15152fd477f
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL order_book-1.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 154.2 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
3e470a80892c43b376a9d31d06ec11a5a195ca7a7b085fe3ae67da3948ae73ba
BLAKE2b-256 checksum
How to use checksums
923a38841a5763efe3a72385dd619e6c786a1d091b53c8aa7e261461907433c1
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL order_book-1.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 157.5 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
728cfa4214897ecb10ac1898f11bb1eda7ae3a47b502bd90e3081aa405383972
BLAKE2b-256 checksum
How to use checksums
d3c128b8293e42e851aca582e906ba7d11040a7f566f5a8f1042c5b232220a5c
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl

Download URL order_book-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 40.5 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ad67270629cc952c658eb1079486cfb488d4f5f4fe6dde48136d10d3df0e2c38
BLAKE2b-256 checksum
How to use checksums
113a0d5d97b451c6b48522a84132b554a467a4c73546cbe674ed9594d118862c
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL order_book-1.2.0-cp314-cp314-musllinux_1_2_x86_64.whl
Size 120.0 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
e40ce0a6706229ec5bd92b86bcd627fd812ba7d97ccbf7db8232fbde4f51c9df
BLAKE2b-256 checksum
How to use checksums
ae87ea235abff5b431972e78a9d4aeb2afaafe9c674365a07887f531882d7a0f
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL order_book-1.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 121.9 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
54322798ea6b92477f19a1b17d1fc69b70175b77716fcdec0c25ea7868f3480c
BLAKE2b-256 checksum
How to use checksums
580a37f030bb2879ee73e8cf8fd5ce8a2135b8de0026cad7f0b1e6d6d8f5ae50
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL order_book-1.2.0-cp314-cp314-macosx_11_0_arm64.whl
Size 40.3 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f0cac9cfc79e5f9f11df88e929ff80982b3993c3c587ecbd57c7c1b91f1f73bb
BLAKE2b-256 checksum
How to use checksums
5e5410d16f6cce2aa62be456024f7d5e761f0b8228846dbea68b78158413aa40
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL order_book-1.2.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 120.6 kB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
15013e44eee0f917075f2b5f1c898db332b099aabc55b2fc1d0f7fd243f87836
BLAKE2b-256 checksum
How to use checksums
04abfb4912c76f1e1d2720a6fe85ca66d949b3409f10e14e9c7547c7963a6891
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL order_book-1.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 122.6 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d55b353bdac6cc44544af921566412c1e0edfe59768cd0da479529f13ae9a6e1
BLAKE2b-256 checksum
How to use checksums
a668c5f1269db9f98fc935b4f2bf127828c98c8ca8b1e207d3b35b8c08de0f2f
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 Oct 30, 2026.

Transparency log

Release files / order_book-1.2.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL order_book-1.2.0-cp313-cp313-macosx_11_0_arm64.whl
Size 40.0 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3ae46770213b3ad3b8111c0f55cb16d7163c9f418490e6ab182bab28b113a5fe
BLAKE2b-256 checksum
How to use checksums
792c133b7aca3138e9c4e80d2a14208d753790d0ac73284a5730f91fa3f5fb7e
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 Oct 30, 2026.

Transparency log

Security for order-book 1.2.0

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

All 16 files in this release have been uploaded with provenance metadata.

Select from 16 files

Attestation for order_book-1.2.0.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 Oct 30, 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