skillfed

databento-dbn

Python bindings for encoding and decoding Databento Binary Encoding (DBN)

databento-dbn v0.66.0 1.8M downloads/30d#3,540 on PyPI166
Permissive license Apache-2.0 Active released

What it is and what it does

databento-dbn is a low-level Python library that wraps Databento's Rust implementation of DBN, a binary encoding format for financial market data. It is designed primarily as an internal dependency of the Databento Python client library and is intended for advanced users who need direct access to DBN encoding and decoding operations.

The package provides bindings to serialize and deserialize market data in DBN format, which is optimized for compact storage and fast transmission of time-series financial information. It has no runtime dependencies and is distributed as precompiled wheels for Python 3.10, 3.11, and 3.12 across macOS, Linux, and Windows, making installation straightforward on standard platforms.

Use it for:

  • Decode DBN-encoded market data received from Databento's data feeds or stored files
  • Encode market data into DBN format for efficient storage or transmission
  • Integrate with the Databento Python client library for advanced data handling workflows
  • Build custom market data processing pipelines that require direct access to DBN serialization

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

databento-dbn provides Python bindings for encoding and decoding Databento Binary Encoding (DBN), a binary format for financial market data.

Yes, if you are using the Databento Python client library or need to work directly with DBN-encoded financial data. The package is actively maintained, has no known vulnerabilities, and offers good platform coverage. Install it only if you have a specific need for DBN encoding/decoding; it is not a general-purpose library and is explicitly marked as for advanced users.

Install

databento-dbn on PyPI

pip

pip install databento-dbn

uv

uv add databento-dbn

poetry

poetry add databento-dbn

Installing databento-dbn

Before you install

Medium install friction due to compiled Rust bindings, but well-supported across Python 3.10+ on major platforms (macOS, Linux, Windows). Active maintenance with a recent release (3 days old) and no known vulnerabilities.

License in practice

Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required.

Quickstart

pip install databento-dbn

import databento_dbn
# Decode DBN-encoded market data
data = databento_dbn.decode(encoded_bytes)

Requires Python 3.10 or later; precompiled wheels available for common platforms, but building from source requires Rust and Maturin.

Verify before relying

  • Specific API surface and method signatures beyond encoding/decoding capability
  • Performance characteristics for large-scale market data processing
  • Integration patterns beyond use as a Databento client dependency

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 1,804,254/month — #3,540 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: databento_dbn-0.66.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; databento_dbn-0.66.0-cp310-cp310-macosx_10_12_x86_64.whl; databento_dbn-0.66.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; databento_dbn-0.66.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; databento_dbn-0.66.0-cp310-cp310-musllinux_1_2_aarch64.whl; databento_dbn-0.66.0-cp310-cp310-musllinux_1_2_x86_64.whl; databento_dbn-0.66.0-cp310-cp310-win_amd64.whl; databento_dbn-0.66.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; databento_dbn-0.66.0-cp311-cp311-macosx_10_12_x86_64.whl; databento_dbn-0.66.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; databento_dbn-0.66.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; databento_dbn-0.66.0-cp311-cp311-musllinux_1_2_aarch64.whl; databento_dbn-0.66.0-cp311-cp311-musllinux_1_2_x86_64.whl; databento_dbn-0.66.0-cp311-cp311-win_amd64.whl; databento_dbn-0.66.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; databento_dbn-0.66.0-cp312-cp312-macosx_10_12_x86_64.whl; databento_dbn-0.66.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; databento_dbn-0.66.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; databento_dbn-0.66.0-cp312-cp312-musllinux_1_2_aarch64.whl; databento_dbn-0.66.0-cp312-cp312-musllinux_1_2_x86_64.whl

Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Rust

Tags

binary encoding financial datadatabento dbn python bindingsmarket data serializationdbn format decoderfinancial data encoding librarydatabento client dependencyrust python bindings market data
financial-datarust-bindingsbinary-encoding

More Database packages