Skip to main content

LOBO

GitHub Python 3.11–3.14 Rust License: MIT

pip install pylobo

LOBO is a high-performance order book library built for fast replay. Written in Rust, it exposes Python APIs to create and serve books through a REST order API and an interactive WebGPU terminal.

There are many fast ordebooks out there, the key reason you might consider using LOBO is when you need to adapt a new market data source. LOBO offers an expressive Python API to fully specify and map almost any market data source from its binary or JSON representation. The real beauty of LOBO is that it then JIT compiles your adapter into a zero-allocation parser streaming at native Rust/C/C++ speeds.

LOBO demo: AAPL liquidity heatmap, live depth, and replay controls

Explore the live demo. Or run locally with The above demo is available to run locally with

uvx pylobo demo

Get started

You can install LOBO into your python environment with

pip install pylobo

To build from Rust, install it from the repository root:

pip install dist/pylobo-*.whl

To create and serve your first book, follow the server guide or try the standalone order API example.

Build your own adapters

Browse the Python example adapters and adapter reference. The examples cover Nasdaq ITCH, Kraken, Bitfinex, Polymarket, and LOBO's order feed. You can also use the agent skill to have an agent build one for you:

npx skills add iamorlando/lobo --skill lobo-adapter --copy

Then you can try prompt like this:

build me the cme adapter for lobo, using the lobo adapter skill. then use a sample file
    https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457223111/MBO+FIX#MBOFIX-SampleFiles to show one book in the
  app

Use LOBO in Rust

cargo add lobo-rs

LOBO Is Highly Configurable

Lobo relies heavily on static dispatch, deferring nearly all configuration level control flow to compile-time resolution of generic types. To achieve this LOBO's order state is held in a single generational slotted arena, while all data structures beyond it operate only on arena keys. This enables full configurability of the sorting and storage algorithms, allowing LOBO to implement the optimal ones for the given use case. LOBO's state updates and sorting mechanics are configured via policies that resolve at compile time to specialized concrete types. The benefits of this also extend to Python. Python users simply select the configuration of the book in the book's init, this gets mapped by Rust to the fully concrete typed implementation. A user macro facilitates this, enabling all combinatorial possibilities to exist in Python.

Further reading

Guide What you'll find
Server & REST API Host books, submit orders, and stream updates.
Order book viewer Run the terminal locally; explore depth, OHLC bars, and simulations.
Python notebooks Replay, custom adapters, and data exports.
Build & packaging Build and test Python wheels, including the bundled terminal.

Metadata

Release files for pylobo 0.1.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 pylobo 0.1.2
File Size Uploaded Provenance
pylobo-0.1.2.tar.gz 2.0 MB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for pylobo 0.1.2
File
pylobo-0.1.2-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details
pylobo-0.1.2-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
pylobo-0.1.2-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details
pylobo-0.1.2-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details
pylobo-0.1.2-cp311-abi3-macosx_11_0_x86_64.whl CPython 3.11 abi3 macOS 11.0+ x86-64 Details
pylobo-0.1.2-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details

Total release size: 90.5 MB

Release files / pylobo-0.1.2.tar.gz

Download URL pylobo-0.1.2.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
d87c7997e52dd4f991c53e9777bd0c104ebca9b18aaae636dc5c722ed65f37ec
BLAKE2b-256 checksum
How to use checksums
d96084bd27a637d6d1c3c4ccaac97cc72579165982bd63483659b268623aded0
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 15, 2026.

Transparency log

Release files / pylobo-0.1.2-cp311-abi3-win_arm64.whl

Download URL pylobo-0.1.2-cp311-abi3-win_arm64.whl
Size 14.4 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
7fef408cb08fb6d0538f74fd32b2f39f5621d358fb6f8338d0488f85525ca711
BLAKE2b-256 checksum
How to use checksums
ab3158a0b88037b02a42f421875bcb53d4ab443a6e8a211f3c19b7858404dee4
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 15, 2026.

Transparency log

Release files / pylobo-0.1.2-cp311-abi3-win_amd64.whl

Download URL pylobo-0.1.2-cp311-abi3-win_amd64.whl
Size 16.3 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
534a826d912cbdfc181bebe2bd91b08f066383b401d4a8568b78f39f7fd74d05
BLAKE2b-256 checksum
How to use checksums
b6be5ade978e9225168c3f7ac918ec8b7534ec654c30897e16864195ca9d6846
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 15, 2026.

Transparency log

Release files / pylobo-0.1.2-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL pylobo-0.1.2-cp311-abi3-manylinux_2_28_x86_64.whl
Size 16.0 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
5c4507bdace11367f80a715b924a4e1b51853dfd8087ebd81c21638c13d8a531
BLAKE2b-256 checksum
How to use checksums
a0334aa15b22e5b8b30c43ce017b309ef1efbd401aef9625257a1ef15db9e5b8
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 15, 2026.

Transparency log

Release files / pylobo-0.1.2-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL pylobo-0.1.2-cp311-abi3-manylinux_2_28_aarch64.whl
Size 13.8 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
98d3128f07f16c8daf0b8afa16d7e0b6f86ed7768f96f85acdee2c15692bfd34
BLAKE2b-256 checksum
How to use checksums
e4b4be8c006fc53340be147af8cc5cfa4642a52871db3e8b4893dc7b2fd62bbd
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 15, 2026.

Transparency log

Release files / pylobo-0.1.2-cp311-abi3-macosx_11_0_x86_64.whl

Download URL pylobo-0.1.2-cp311-abi3-macosx_11_0_x86_64.whl
Size 14.6 MB
Tags CPython 3.11 abi3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
51715601135d98bfb7c1568e505c25e843a666a2431220e4dac7a899d17002f9
BLAKE2b-256 checksum
How to use checksums
6a47abdb846fb4c074a6cd76e06d368ee38b0185cd4e2d5d620d74afec896b53
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 15, 2026.

Transparency log

Release files / pylobo-0.1.2-cp311-abi3-macosx_11_0_arm64.whl

Download URL pylobo-0.1.2-cp311-abi3-macosx_11_0_arm64.whl
Size 13.2 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
917836267a42e329227a516c59eadffdc975ffd3d715c6105cf953a58365b513
BLAKE2b-256 checksum
How to use checksums
179ea3eb8bb18c9052bf28222fe7207449cb4e2300f011f2e0300b77134e2a7f
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 15, 2026.

Transparency log

Security for pylobo 0.1.2

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 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for pylobo-0.1.2.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 Sep 15, 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