Skip to main content

Midas Binary Encoding

License

Disclaimer

The Midas Binary Encoding library is heavily inspired by and directly influenced by the Databento DBN library. When starting this project, I was new to Rust and binary encoding, and much of the initial development was based on learning from and building upon Databento's DBN implementation. While it will continue to evolve into its own implementation, it is important to acknowledge the foundational inspiration provided by Databento's work.

Overview

The Midas Binary Encoding library is a foundational component of the Midas ecosystem. It serves as the shared protocol for encoding and decoding data across all Midas system components. Although users typically do not interact with mbinary directly, it plays a crucial role in ensuring seamless data exchange between:

  • Midas Server: Data storage and API backend.
  • MidasTrader: Core backtesting and live trading engine.
  • Midas Shell: Command-line and REPL interface.
  • Midas GUI: Frontend visualization and analysis.

Functions similarly to protocol buffers, providing a structured and efficient binary format for data serialization and deserialization.

Installation

You can install mbinary directly from PyPI:

pip install mbinary

Future Plans

  • Extend schema support for additional data types.
  • Optimize encoding and decoding for larger datasets.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request with suggestions or improvements.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

Metadata

Release files for mbinary 1.0.35

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mbinary 1.0.35
File Size Uploaded
mbinary-1.0.35.tar.gz 68.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for mbinary 1.0.35
File
mbinary-1.0.35-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
mbinary-1.0.35-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details
mbinary-1.0.35-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
mbinary-1.0.35-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details
mbinary-1.0.35-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
mbinary-1.0.35-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details
mbinary-1.0.35-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
mbinary-1.0.35-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details
mbinary-1.0.35-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
mbinary-1.0.35-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
mbinary-1.0.35-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details
mbinary-1.0.35-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
mbinary-1.0.35-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details

Total release size: 7.5 MB

Release files / mbinary-1.0.35.tar.gz

Download URL mbinary-1.0.35.tar.gz
Size 68.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4402450ca7697814a974058eceb441182a5d06a12a2d28449d58b95126e00f19
BLAKE2b-256 checksum
How to use checksums
f1a45939544efdcf427c3d258a9a97cc1c559735eedc9dd52e69b15f85277fc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp313-cp313-win_amd64.whl

Download URL mbinary-1.0.35-cp313-cp313-win_amd64.whl
Size 531.3 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
b230101bf541c02d2d2f5a802416c5fa3d26057a53e81ae4ee849303286e2d54
BLAKE2b-256 checksum
How to use checksums
7879ceda06001bd78736cd19106c0256fd7919b17f33c152aa339f9a316850f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL mbinary-1.0.35-cp313-cp313-manylinux_2_34_x86_64.whl
Size 639.7 kB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
6bdba172b225ea8886ab5174df7ec6483e67f4aa9fe8acf8c2e18557d3b6bf2e
BLAKE2b-256 checksum
How to use checksums
7a26e9283a9822ed7dbc2eed65b100369b3e00bb489499966ab4df2b55ea1880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp313-cp313-macosx_11_0_arm64.whl

Download URL mbinary-1.0.35-cp313-cp313-macosx_11_0_arm64.whl
Size 572.8 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d4f4e12f69396b87fda37177bd66b6512afdf3ffc95405e397d0f41202a47c20
BLAKE2b-256 checksum
How to use checksums
5ae3954a523be9631a5bf71d0d7032b242150c25234025e522004b0ea44faf5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp313-cp313-macosx_10_12_x86_64.whl

Download URL mbinary-1.0.35-cp313-cp313-macosx_10_12_x86_64.whl
Size 592.2 kB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
84a3634af8ae42770938ccbcc794ead13fde4ee1e910433d9d116271d079275c
BLAKE2b-256 checksum
How to use checksums
43cc6c2e1d6863c86bd1a1de76446ff4d93523bc4eac6b17628437e8188e380d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp312-cp312-win_amd64.whl

Download URL mbinary-1.0.35-cp312-cp312-win_amd64.whl
Size 531.4 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
93a2378c5ab6edda6e10393f01f49099e3a720c0c0e6d1cee47837d35b500d0f
BLAKE2b-256 checksum
How to use checksums
ad8d28869de3038e689c9b1694f1a3edfb290e78f4400776e1b2b95e905025f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL mbinary-1.0.35-cp312-cp312-manylinux_2_34_x86_64.whl
Size 640.1 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
b30518caa7f3a3cfead8603a887ebe87d8aadc263d5e05a7829157e293574681
BLAKE2b-256 checksum
How to use checksums
eb4858192119574f1124906fb890bc2e6e515a49c5e023833e85f4a1c97d2fc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp312-cp312-macosx_11_0_arm64.whl

Download URL mbinary-1.0.35-cp312-cp312-macosx_11_0_arm64.whl
Size 573.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5dd0f01251f7d1aaadf5a5aaeb6de89a09f99bc8b51a8e9a3dfe6fa3a8932d48
BLAKE2b-256 checksum
How to use checksums
a3425b5ce88575c6f726bd65bda47ecd4f035d1e87103be3afa55052f257bb0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp312-cp312-macosx_10_12_x86_64.whl

Download URL mbinary-1.0.35-cp312-cp312-macosx_10_12_x86_64.whl
Size 593.1 kB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c84b269a7ff71ebbd559988111365dab35c05eecfd4ab4b29d657e379359c130
BLAKE2b-256 checksum
How to use checksums
086beb298c0df09251a1db3b1a00c7892f9c318ab0a5ff319386af5ddbbdc343
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp311-cp311-win_amd64.whl

Download URL mbinary-1.0.35-cp311-cp311-win_amd64.whl
Size 529.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
02edc8884ce66818bc6acf184591cf046aa0d9ab29774e882680fee30a6bcdb5
BLAKE2b-256 checksum
How to use checksums
1433626579516d5376813c1e853a19edb1384d6d0419bae3063ff4b7cdc74a1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp311-cp311-macosx_11_0_arm64.whl

Download URL mbinary-1.0.35-cp311-cp311-macosx_11_0_arm64.whl
Size 580.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cc0ed395141d0a28ead7baabe979f49472c281b201856890990a0e463eb29f19
BLAKE2b-256 checksum
How to use checksums
35cb3e799f2de7b5087e663f1264127b1045683edd5d59ff95aff84aeb78d97d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp311-cp311-macosx_10_12_x86_64.whl

Download URL mbinary-1.0.35-cp311-cp311-macosx_10_12_x86_64.whl
Size 606.5 kB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
65e07a1759bad05947f545c3f56227af47100152fe2ea71f994bed96790fd5c3
BLAKE2b-256 checksum
How to use checksums
7a5126270f9bb6fef849d2504523a08fd27e1ce92595efb8c271863e61e97f71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp310-cp310-win_amd64.whl

Download URL mbinary-1.0.35-cp310-cp310-win_amd64.whl
Size 529.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c11fccdf7486f3208bcff9e441d8cd732f726b08376e4d706ec3d2100dbcf9d9
BLAKE2b-256 checksum
How to use checksums
da9683292c9fcd1341ca83153585dedc8b27a158efe0b1c1fb7728830b576f01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7

Release files / mbinary-1.0.35-cp39-cp39-win_amd64.whl

Download URL mbinary-1.0.35-cp39-cp39-win_amd64.whl
Size 531.2 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
b7537503ebd0328ce27273c4ca59ca84aeb4a57f8d382d3669e488b9778ef65d
BLAKE2b-256 checksum
How to use checksums
c1f32c774701322a907aa95670503afa5ef4337868ee65f0ce61d28a6aebd472
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.7
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