databento-dbn 0.44.0__cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- databento_dbn/__init__.py +56 -0
- databento_dbn/_lib.cpython-311-aarch64-linux-gnu.so +0 -0
- databento_dbn/_lib.pyi +7533 -0
- databento_dbn/py.typed +0 -0
- databento_dbn/v1.py +25 -0
- databento_dbn/v2.py +25 -0
- databento_dbn/v3.py +25 -0
- databento_dbn-0.44.0.dist-info/METADATA +60 -0
- databento_dbn-0.44.0.dist-info/RECORD +10 -0
- databento_dbn-0.44.0.dist-info/WHEEL +5 -0
databento_dbn/py.typed
ADDED
|
File without changes
|
databento_dbn/v1.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# ruff: noqa: F401
|
|
2
|
+
from ._lib import BBOMsg
|
|
3
|
+
from ._lib import CBBOMsg
|
|
4
|
+
from ._lib import CMBP1Msg
|
|
5
|
+
from ._lib import ErrorMsgV1 as ErrorMsg
|
|
6
|
+
from ._lib import ImbalanceMsg
|
|
7
|
+
from ._lib import InstrumentDefMsgV1 as InstrumentDefMsg
|
|
8
|
+
from ._lib import MBOMsg
|
|
9
|
+
from ._lib import MBP1Msg
|
|
10
|
+
from ._lib import MBP10Msg
|
|
11
|
+
from ._lib import OHLCVMsg
|
|
12
|
+
from ._lib import StatMsgV1 as StatMsg
|
|
13
|
+
from ._lib import StatusMsg
|
|
14
|
+
from ._lib import SymbolMappingMsgV1 as SymbolMappingMsg
|
|
15
|
+
from ._lib import SystemMsgV1 as SystemMsg
|
|
16
|
+
from ._lib import TradeMsg
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Aliases
|
|
20
|
+
TBBOMsg = MBP1Msg
|
|
21
|
+
BBO1SMsg = BBOMsg
|
|
22
|
+
BBO1MMsg = BBOMsg
|
|
23
|
+
TCBBOMsg = CMBP1Msg
|
|
24
|
+
CBBO1SMsg = CBBOMsg
|
|
25
|
+
CBBO1MMsg = CBBOMsg
|
databento_dbn/v2.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# ruff: noqa: F401
|
|
2
|
+
from ._lib import BBOMsg
|
|
3
|
+
from ._lib import CBBOMsg
|
|
4
|
+
from ._lib import CMBP1Msg
|
|
5
|
+
from ._lib import ErrorMsg
|
|
6
|
+
from ._lib import ImbalanceMsg
|
|
7
|
+
from ._lib import InstrumentDefMsgV2 as InstrumentDefMsg
|
|
8
|
+
from ._lib import MBOMsg
|
|
9
|
+
from ._lib import MBP1Msg
|
|
10
|
+
from ._lib import MBP10Msg
|
|
11
|
+
from ._lib import OHLCVMsg
|
|
12
|
+
from ._lib import StatMsgV1 as StatMsg
|
|
13
|
+
from ._lib import StatusMsg
|
|
14
|
+
from ._lib import SymbolMappingMsg
|
|
15
|
+
from ._lib import SystemMsg
|
|
16
|
+
from ._lib import TradeMsg
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Aliases
|
|
20
|
+
TBBOMsg = MBP1Msg
|
|
21
|
+
BBO1SMsg = BBOMsg
|
|
22
|
+
BBO1MMsg = BBOMsg
|
|
23
|
+
TCBBOMsg = CMBP1Msg
|
|
24
|
+
CBBO1SMsg = CBBOMsg
|
|
25
|
+
CBBO1MMsg = CBBOMsg
|
databento_dbn/v3.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# ruff: noqa: F401
|
|
2
|
+
from ._lib import BBOMsg
|
|
3
|
+
from ._lib import CBBOMsg
|
|
4
|
+
from ._lib import CMBP1Msg
|
|
5
|
+
from ._lib import ErrorMsg
|
|
6
|
+
from ._lib import ImbalanceMsg
|
|
7
|
+
from ._lib import InstrumentDefMsg
|
|
8
|
+
from ._lib import MBOMsg
|
|
9
|
+
from ._lib import MBP1Msg
|
|
10
|
+
from ._lib import MBP10Msg
|
|
11
|
+
from ._lib import OHLCVMsg
|
|
12
|
+
from ._lib import StatMsg
|
|
13
|
+
from ._lib import StatusMsg
|
|
14
|
+
from ._lib import SymbolMappingMsg
|
|
15
|
+
from ._lib import SystemMsg
|
|
16
|
+
from ._lib import TradeMsg
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# Aliases
|
|
20
|
+
TBBOMsg = MBP1Msg
|
|
21
|
+
BBO1SMsg = BBOMsg
|
|
22
|
+
BBO1MMsg = BBOMsg
|
|
23
|
+
TCBBOMsg = CMBP1Msg
|
|
24
|
+
CBBO1SMsg = CBBOMsg
|
|
25
|
+
CBBO1MMsg = CBBOMsg
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: databento-dbn
|
|
3
|
+
Version: 0.44.0
|
|
4
|
+
Classifier: Programming Language :: Rust
|
|
5
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
|
+
Summary: Python bindings for encoding and decoding Databento Binary Encoding (DBN)
|
|
7
|
+
Author-email: Databento <support@databento.com>
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
11
|
+
Project-URL: Homepage, https://databento.com
|
|
12
|
+
Project-URL: Documentation, https://databento.com/docs
|
|
13
|
+
Project-URL: Repository, https://github.com/databento/dbn
|
|
14
|
+
Project-URL: Bug Tracker, https://github.com/databento/dbn/issues
|
|
15
|
+
|
|
16
|
+
# databento-dbn
|
|
17
|
+
|
|
18
|
+
[](https://github.com/databento/dbn/actions/workflows/build.yaml)
|
|
19
|
+

|
|
20
|
+

|
|
21
|
+
[](https://pypi.org/project/databento-dbn)
|
|
22
|
+
|
|
23
|
+
Python bindings for the `dbn` Rust library, used by the [Databento Python client library](https://github.com/databento/databento-python).
|
|
24
|
+
For more information about the encoding, read our [introduction to DBN](https://databento.com/docs/standards-and-conventions/databento-binary-encoding).
|
|
25
|
+
|
|
26
|
+
Using this library is for advanced users and is not fully documented or supported.
|
|
27
|
+
|
|
28
|
+
## Installation
|
|
29
|
+
|
|
30
|
+
To install the latest stable version from PyPI:
|
|
31
|
+
```sh
|
|
32
|
+
pip install -U databento-dbn
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Usage and documentation
|
|
36
|
+
|
|
37
|
+
See the [documentation](https://databento.com/docs/quickstart?historical=python&live=python) for the Python client library.
|
|
38
|
+
|
|
39
|
+
## Building
|
|
40
|
+
|
|
41
|
+
`databento-dbn` is written in Rust, so you'll need to have [Rust installed](https://www.rust-lang.org/)
|
|
42
|
+
as well as [Maturin](https://github.com/PyO3/maturin).
|
|
43
|
+
|
|
44
|
+
To build, run the following commands:
|
|
45
|
+
```sh
|
|
46
|
+
git clone https://github.com/databento/dbn
|
|
47
|
+
cd dbn
|
|
48
|
+
maturin build
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
To build the Python package and install it for the active Python interpreter in your `PATH`, run:
|
|
52
|
+
```sh
|
|
53
|
+
maturin develop
|
|
54
|
+
```
|
|
55
|
+
This will install a package named `databento-dbn` in your current Python environment.
|
|
56
|
+
|
|
57
|
+
## License
|
|
58
|
+
|
|
59
|
+
Distributed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.html).
|
|
60
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
databento_dbn-0.44.0.dist-info/METADATA,sha256=Ave88Eyn22AJ2A_WF7Dj6h3IYq5K2oblwnspbuO8EMY,2293
|
|
2
|
+
databento_dbn-0.44.0.dist-info/WHEEL,sha256=W-HuNo6y7cVq-B30T2_Un_GGBkkXkoZtHcfrMQRBVoY,149
|
|
3
|
+
databento_dbn/__init__.py,sha256=yIvmw2ScoiVm1H5uQhdWdVYGg97vjRMoKiekICqWPyQ,1123
|
|
4
|
+
databento_dbn/_lib.cpython-311-aarch64-linux-gnu.so,sha256=v9canId9OQrQj_5HbujoW-EASQ6HU7GFWLYgJ_cDyEc,5222456
|
|
5
|
+
databento_dbn/_lib.pyi,sha256=ijqaMEjOjy-9hrwXSSfLWR7vUPoutI5NJZbcHjnaiOc,165741
|
|
6
|
+
databento_dbn/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
databento_dbn/v1.py,sha256=_iwCfC_2DTuyQrguK9TCJ8lN-NZBPZZ3BezHAT1dQb0,651
|
|
8
|
+
databento_dbn/v2.py,sha256=NDa-Tok4Fb3tLTaPB-pjOrmfhWuXSsxE_73eCkhb4FM,600
|
|
9
|
+
databento_dbn/v3.py,sha256=DJSe9o0LhjBJz7PCG9pnYlxDLbONRJG0-RMm0WsEpX4,565
|
|
10
|
+
databento_dbn-0.44.0.dist-info/RECORD,,
|