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.

Get started

For Python, build a wheel, then 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, or install the agent skill to have an agent build one for you:

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

The examples cover Nasdaq ITCH, Kraken, Bitfinex, Polymarket, and LOBO's order feed.

Use LOBO in Rust

Add LOBO to your Rust project directly from this repository:

cargo add lobo --git https://github.com/iamorlando/loblib.git

Then you can try prompt like this:

uild 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

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.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 pylobo 0.1.0
File Size Uploaded Provenance
pylobo-0.1.0.tar.gz 2.0 MB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for pylobo 0.1.0
File
pylobo-0.1.0-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details
pylobo-0.1.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
pylobo-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details
pylobo-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details
pylobo-0.1.0-cp311-abi3-macosx_11_0_x86_64.whl CPython 3.11 abi3 macOS 11.0+ x86-64 Details
pylobo-0.1.0-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.0.tar.gz

Download URL pylobo-0.1.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
e8305cd88f9438ef0de76d70fd2718930c7f8c80247ad491a36d474394413030
BLAKE2b-256 checksum
How to use checksums
94a2e5b14938f549af5c4a6d833833fabaa846d9e04bbe780bf7f71d875dd969
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 11, 2026.

Transparency log

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

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

Transparency log

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

Download URL pylobo-0.1.0-cp311-abi3-win_amd64.whl
Size 16.3 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e22f6e2f54eee5f8f47d482aa2cb4ee5085da696799b561d7f8742f0fbe39bf0
BLAKE2b-256 checksum
How to use checksums
b5821864f6b1ec3cb8c1af393bd72e39618afca65078d5857752f159d998046e
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 11, 2026.

Transparency log

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

Download URL pylobo-0.1.0-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
2c7fa4ee30c1e2a38e5ed971cecf8421501aaa2316e04d9a97d3f2e33d21752a
BLAKE2b-256 checksum
How to use checksums
7bd2637167c20f2124300144acca253d5caadc8e73ad90740e1195af11da119c
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 11, 2026.

Transparency log

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

Download URL pylobo-0.1.0-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
efb07ad5ec633803708bb2c67289fb56ddb867aa4ccaf34c6e2a7c927df52401
BLAKE2b-256 checksum
How to use checksums
c7b33524475307b7f56b441f40b62d4111a831fe16010346b009fe0e5fed80c6
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 11, 2026.

Transparency log

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

Download URL pylobo-0.1.0-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
1e58d903d6d9a92490a34355d95dbfe62587a376b0a6601ce7a786711f46a207
BLAKE2b-256 checksum
How to use checksums
2d04598f16534468a5913c55ab0f813af9a4bf1ba915615cf7938e683694822f
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 11, 2026.

Transparency log

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

Download URL pylobo-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Size 13.3 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fb90e3ac3cfc214f8e5000900f39efc1f5ffd9bdd194576b975d19b5a33c9baf
BLAKE2b-256 checksum
How to use checksums
8f7721303f939b3d4f47638ef2308bf37eb784e57c9e694f5830aac5b60cbe87
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 11, 2026.

Transparency log

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

Select from 7 files

Attestation for pylobo-0.1.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 Sep 11, 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