A binary encoding library designed for efficient data storage and transportation in trading platforms.
Project description
Midas Binary Encoding
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mbinary-1.0.35.tar.gz.
File metadata
- Download URL: mbinary-1.0.35.tar.gz
- Upload date:
- Size: 68.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4402450ca7697814a974058eceb441182a5d06a12a2d28449d58b95126e00f19
|
|
| MD5 |
7105ec43335c68c867c7a00c272a08fa
|
|
| BLAKE2b-256 |
f1a45939544efdcf427c3d258a9a97cc1c559735eedc9dd52e69b15f85277fc8
|
File details
Details for the file mbinary-1.0.35-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 531.3 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b230101bf541c02d2d2f5a802416c5fa3d26057a53e81ae4ee849303286e2d54
|
|
| MD5 |
d166f3c00cfcdb61cc11ccb64104ef61
|
|
| BLAKE2b-256 |
7879ceda06001bd78736cd19106c0256fd7919b17f33c152aa339f9a316850f0
|
File details
Details for the file mbinary-1.0.35-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 639.7 kB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bdba172b225ea8886ab5174df7ec6483e67f4aa9fe8acf8c2e18557d3b6bf2e
|
|
| MD5 |
e651d9cecc1fec9796a34fa79709c2b3
|
|
| BLAKE2b-256 |
7a26e9283a9822ed7dbc2eed65b100369b3e00bb489499966ab4df2b55ea1880
|
File details
Details for the file mbinary-1.0.35-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 572.8 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4f4e12f69396b87fda37177bd66b6512afdf3ffc95405e397d0f41202a47c20
|
|
| MD5 |
2e3c4c11af5010a2c23d257b25184cb9
|
|
| BLAKE2b-256 |
5ae3954a523be9631a5bf71d0d7032b242150c25234025e522004b0ea44faf5e
|
File details
Details for the file mbinary-1.0.35-cp313-cp313-macosx_10_12_x86_64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp313-cp313-macosx_10_12_x86_64.whl
- Upload date:
- Size: 592.2 kB
- Tags: CPython 3.13, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84a3634af8ae42770938ccbcc794ead13fde4ee1e910433d9d116271d079275c
|
|
| MD5 |
62764f0d6f24db727facad9898e68b05
|
|
| BLAKE2b-256 |
43cc6c2e1d6863c86bd1a1de76446ff4d93523bc4eac6b17628437e8188e380d
|
File details
Details for the file mbinary-1.0.35-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 531.4 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93a2378c5ab6edda6e10393f01f49099e3a720c0c0e6d1cee47837d35b500d0f
|
|
| MD5 |
d7bc701cdc6e59e33708d18cd2297ba9
|
|
| BLAKE2b-256 |
ad8d28869de3038e689c9b1694f1a3edfb290e78f4400776e1b2b95e905025f6
|
File details
Details for the file mbinary-1.0.35-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 640.1 kB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b30518caa7f3a3cfead8603a887ebe87d8aadc263d5e05a7829157e293574681
|
|
| MD5 |
9e46621349c05a06a9678381ee249d2f
|
|
| BLAKE2b-256 |
eb4858192119574f1124906fb890bc2e6e515a49c5e023833e85f4a1c97d2fc3
|
File details
Details for the file mbinary-1.0.35-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 573.1 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dd0f01251f7d1aaadf5a5aaeb6de89a09f99bc8b51a8e9a3dfe6fa3a8932d48
|
|
| MD5 |
5969e34007a5725704cd01dc5f10af10
|
|
| BLAKE2b-256 |
a3425b5ce88575c6f726bd65bda47ecd4f035d1e87103be3afa55052f257bb0d
|
File details
Details for the file mbinary-1.0.35-cp312-cp312-macosx_10_12_x86_64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 593.1 kB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c84b269a7ff71ebbd559988111365dab35c05eecfd4ab4b29d657e379359c130
|
|
| MD5 |
ff33fc01f039a635473db235c615d0e3
|
|
| BLAKE2b-256 |
086beb298c0df09251a1db3b1a00c7892f9c318ab0a5ff319386af5ddbbdc343
|
File details
Details for the file mbinary-1.0.35-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 529.8 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02edc8884ce66818bc6acf184591cf046aa0d9ab29774e882680fee30a6bcdb5
|
|
| MD5 |
4b47f2783ecece058459d70fd2b2c9d5
|
|
| BLAKE2b-256 |
1433626579516d5376813c1e853a19edb1384d6d0419bae3063ff4b7cdc74a1e
|
File details
Details for the file mbinary-1.0.35-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 580.9 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc0ed395141d0a28ead7baabe979f49472c281b201856890990a0e463eb29f19
|
|
| MD5 |
4d7e887015f329bb4334b62a1f1967b1
|
|
| BLAKE2b-256 |
35cb3e799f2de7b5087e663f1264127b1045683edd5d59ff95aff84aeb78d97d
|
File details
Details for the file mbinary-1.0.35-cp311-cp311-macosx_10_12_x86_64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 606.5 kB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65e07a1759bad05947f545c3f56227af47100152fe2ea71f994bed96790fd5c3
|
|
| MD5 |
397fd863e3923274ff11a6e7e89234cb
|
|
| BLAKE2b-256 |
7a5126270f9bb6fef849d2504523a08fd27e1ce92595efb8c271863e61e97f71
|
File details
Details for the file mbinary-1.0.35-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 529.6 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c11fccdf7486f3208bcff9e441d8cd732f726b08376e4d706ec3d2100dbcf9d9
|
|
| MD5 |
21879942c93aeb1ca3d0a3be0a647f7f
|
|
| BLAKE2b-256 |
da9683292c9fcd1341ca83153585dedc8b27a158efe0b1c1fb7728830b576f01
|
File details
Details for the file mbinary-1.0.35-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: mbinary-1.0.35-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 531.2 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7537503ebd0328ce27273c4ca59ca84aeb4a57f8d382d3669e488b9778ef65d
|
|
| MD5 |
c5052dc239e8c292d3d9d969c0c96595
|
|
| BLAKE2b-256 |
c1f32c774701322a907aa95670503afa5ef4337868ee65f0ce61d28a6aebd472
|