LOBO
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.
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pylobo-0.1.1.tar.gz | 2.0 MB | With provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pylobo-0.1.1-cp311-abi3-win_arm64.whl | CPython 3.11 | abi3 | Windows ARM64 | Details |
| pylobo-0.1.1-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details |
| pylobo-0.1.1-cp311-abi3-manylinux_2_28_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| pylobo-0.1.1-cp311-abi3-manylinux_2_28_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| pylobo-0.1.1-cp311-abi3-macosx_11_0_x86_64.whl | CPython 3.11 | abi3 | macOS 11.0+ x86-64 | Details |
| pylobo-0.1.1-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.1.tar.gz
| Download URL | pylobo-0.1.1.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d77baf68d0959fb2c18b37be012cdc1299477f6127ef888f12eac1f9ce9a0d9e
|
|
BLAKE2b-256 checksum How to use checksums |
4c5cef55288ff8804d8a43bfbff6bffce7b1b6cc2733775084994aed9e0b562b
|
| 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 logRelease files / pylobo-0.1.1-cp311-abi3-win_arm64.whl
| Download URL | pylobo-0.1.1-cp311-abi3-win_arm64.whl |
|---|---|
| Size | 14.4 MB |
| Tags | CPython 3.11 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
47dd280c4933809821a9c0db155ba73edee16ff2bcd908334fee2530724907f1
|
|
BLAKE2b-256 checksum How to use checksums |
8c0cee6e070b0eb4351439e02d3d93ed71019b89f2932178595d4c4abddcf04f
|
| 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 logRelease files / pylobo-0.1.1-cp311-abi3-win_amd64.whl
| Download URL | pylobo-0.1.1-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 16.3 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
264a9bb78b04faeb84e6bb8240a5bb70254756a51d922c2ddb365dd305e5d6fe
|
|
BLAKE2b-256 checksum How to use checksums |
07bb9b3900108a80f10740e4b34679741246146354b438652617371046007abf
|
| 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 logRelease files / pylobo-0.1.1-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | pylobo-0.1.1-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 |
4ae7d5844e42fed4ebe7a63b79e7c5e64e25842be013368031f5b99bb8753a97
|
|
BLAKE2b-256 checksum How to use checksums |
a59508845ad9b531f35e028b3f202b5506ec8ca1dabe0ef2251528c8a1c2d5e5
|
| 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 logRelease files / pylobo-0.1.1-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | pylobo-0.1.1-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 |
2c3a2e759f79fb4f1266a7a5a5ff6554ac20f4387173f940eb8ba7cd735db290
|
|
BLAKE2b-256 checksum How to use checksums |
9897c10591bf399e3ca20de2567c917c69425de2c20c4ebd16402ddd3066cd1a
|
| 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 logRelease files / pylobo-0.1.1-cp311-abi3-macosx_11_0_x86_64.whl
| Download URL | pylobo-0.1.1-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 |
b2be1420ad87b1c5e4d046428692ff7a986d4c0a90c9cdd8121d386b8ba989e9
|
|
BLAKE2b-256 checksum How to use checksums |
3f52c7ff54bb2fbd74ce76d774f79ec4ee79005d102a3443e124335322f8b2d6
|
| 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 logRelease files / pylobo-0.1.1-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | pylobo-0.1.1-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 |
244b5d1fdb461f09cd42a6105c0221bcaba94c4b3db7a3a833b78425f92de120
|
|
BLAKE2b-256 checksum How to use checksums |
70f53c2e55ae43df6a10827e14168786399a779661d469dc0f67457fff064a8b
|
| 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 logSecurity for pylobo 0.1.1
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.
Attestation for pylobo-0.1.1.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 logA 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.