Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/databento/dbn
Databento Binary Encoding (DBN) - Fast message encoding and storage format for market data
https://github.com/databento/dbn
binary-encoding databento encoding low-latency market-data rust serialization storage tick-data zero-copy zstd
Last synced: about 2 hours ago
JSON representation
Databento Binary Encoding (DBN) - Fast message encoding and storage format for market data
- Host: GitHub
- URL: https://github.com/databento/dbn
- Owner: databento
- License: apache-2.0
- Created: 2022-08-30T09:05:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-16T12:38:39.000Z (6 days ago)
- Last Synced: 2025-01-17T13:09:14.021Z (5 days ago)
- Topics: binary-encoding, databento, encoding, low-latency, market-data, rust, serialization, storage, tick-data, zero-copy, zstd
- Language: Rust
- Homepage: https://databento.com
- Size: 1.62 MB
- Stars: 94
- Watchers: 11
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# dbn
[![build](https://github.com/databento/dbn/actions/workflows/build.yaml/badge.svg)](https://github.com/databento/dbn/actions/workflows/build.yaml)
[![Documentation](https://img.shields.io/docsrs/dbn)](https://docs.rs/dbn/latest/dbn/)
[![license](https://img.shields.io/github/license/databento/dbn?color=blue)](./LICENSE)
[![Current Crates.io Version](https://img.shields.io/crates/v/dbn.svg)](https://crates.io/crates/dbn)
[![pypi-version](https://img.shields.io/pypi/v/databento_dbn)](https://pypi.org/project/databento-dbn)
[![Slack](https://img.shields.io/badge/join_Slack-community-darkblue.svg?logo=slack)](https://to.dbn.to/slack)**D**atabento **B**inary E**n**coding (DBN) is an extremely fast message encoding and storage format for normalized market data.
The DBN specification includes a simple, self-describing metadata header and a fixed set of struct definitions, which enforce a standardized way to normalize market data.All official Databento client libraries use DBN under the hood, both as a data interchange format and for in-memory representation of data.
DBN is also the default encoding for all Databento APIs, including live data streaming, historical data streaming, and batch flat files.This repository contains both libraries and a CLI tool for working with DBN files and streams.
Python bindings for `dbn` are provided in the `databento_dbn` package.For more details, read our [introduction to DBN](https://databento.com/docs/standards-and-conventions/databento-binary-encoding).
## Features
- Performant binary encoding and decoding
- Highly compressible with Zstandard
- Extendable fixed-width schemas## Usage
See the respective READMEs for usage details:
- [`dbn`](rust/dbn/README.md): Rust library crate
- [`dbn-cli`](rust/dbn-cli/README.md): CLI crate providing a `dbn` binary
- [`databento-dbn`](python/README.md): Python package## License
Distributed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.html).