databento-dbn 0.38.0__cp312-cp312-musllinux_1_2_aarch64.whl → 0.46.0__cp312-cp312-musllinux_1_2_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.
Potentially problematic release.
This version of databento-dbn might be problematic. Click here for more details.
- databento_dbn/__init__.py +29 -51
- databento_dbn/_lib.cpython-312-aarch64-linux-musl.so +0 -0
- databento_dbn/_lib.pyi +6279 -2466
- databento_dbn/metadata.py +53 -0
- databento_dbn/v1.py +1 -1
- databento_dbn/v2.py +1 -1
- databento_dbn/v3.py +1 -1
- {databento_dbn-0.38.0.dist-info → databento_dbn-0.46.0.dist-info}/METADATA +8 -6
- databento_dbn-0.46.0.dist-info/RECORD +12 -0
- {databento_dbn-0.38.0.dist-info → databento_dbn-0.46.0.dist-info}/WHEEL +1 -1
- databento_dbn.libs/{libgcc_s-e52197c3.so.1 → libgcc_s-39080030.so.1} +0 -0
- databento_dbn-0.38.0.dist-info/RECORD +0 -11
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import datetime as dt
|
|
2
|
+
from collections.abc import Sequence
|
|
3
|
+
from typing import Protocol
|
|
4
|
+
from typing import TypedDict
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class MappingInterval(Protocol):
|
|
8
|
+
"""
|
|
9
|
+
Represents a symbol mapping over a start and end date range interval.
|
|
10
|
+
|
|
11
|
+
Parameters
|
|
12
|
+
----------
|
|
13
|
+
start_date : dt.date
|
|
14
|
+
The start of the mapping period.
|
|
15
|
+
end_date : dt.date
|
|
16
|
+
The end of the mapping period.
|
|
17
|
+
symbol : str
|
|
18
|
+
The symbol value.
|
|
19
|
+
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
start_date: dt.date
|
|
23
|
+
end_date: dt.date
|
|
24
|
+
symbol: str
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class MappingIntervalDict(TypedDict):
|
|
28
|
+
"""
|
|
29
|
+
Represents a symbol mapping over a start and end date range interval.
|
|
30
|
+
|
|
31
|
+
Parameters
|
|
32
|
+
----------
|
|
33
|
+
start_date : dt.date
|
|
34
|
+
The start of the mapping period.
|
|
35
|
+
end_date : dt.date
|
|
36
|
+
The end of the mapping period.
|
|
37
|
+
symbol : str
|
|
38
|
+
The symbol value.
|
|
39
|
+
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
start_date: dt.date
|
|
43
|
+
end_date: dt.date
|
|
44
|
+
symbol: str
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class SymbolMapping(Protocol):
|
|
48
|
+
"""
|
|
49
|
+
Represents the mappings for one native symbol.
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
raw_symbol: str
|
|
53
|
+
intervals: Sequence[MappingInterval]
|
databento_dbn/v1.py
CHANGED
databento_dbn/v2.py
CHANGED
databento_dbn/v3.py
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: databento-dbn
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.46.0
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Summary: Python bindings for encoding and decoding Databento Binary Encoding (DBN)
|
|
7
|
-
Author: Databento <support@databento.com>
|
|
8
7
|
Author-email: Databento <support@databento.com>
|
|
9
|
-
License: Apache-2.0
|
|
10
|
-
Requires-Python: >=3.
|
|
8
|
+
License-Expression: Apache-2.0
|
|
9
|
+
Requires-Python: >=3.10
|
|
11
10
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
12
|
-
Project-URL:
|
|
11
|
+
Project-URL: Bug Tracker, https://github.com/databento/dbn/issues
|
|
12
|
+
Project-URL: Documentation, https://databento.com/docs
|
|
13
|
+
Project-URL: Homepage, https://databento.com
|
|
14
|
+
Project-URL: Repository, https://github.com/databento/dbn
|
|
13
15
|
|
|
14
16
|
# databento-dbn
|
|
15
17
|
|
|
16
18
|
[](https://github.com/databento/dbn/actions/workflows/build.yaml)
|
|
17
|
-

|
|
18
20
|

|
|
19
21
|
[](https://pypi.org/project/databento-dbn)
|
|
20
22
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
databento_dbn/__init__.py,sha256=4-qR3ySkdtfkZ4aMZWvy7IDgGn-YtLIx-MQM0y5zigU,639
|
|
2
|
+
databento_dbn/_lib.cpython-312-aarch64-linux-musl.so,sha256=I5VVWUTiniZQfSsXL3vulLywWAeWsw2A2BSSWk5z89k,5377433
|
|
3
|
+
databento_dbn/_lib.pyi,sha256=OoldTZA9KrcjQtiIxfRdriqMsYTbYfuAOCCm12FKOs4,247119
|
|
4
|
+
databento_dbn/metadata.py,sha256=ejY4-DC246Ng9GcbuMQiXYwAMNtl8pmG4XHqHlpVzBY,1065
|
|
5
|
+
databento_dbn/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
databento_dbn/v1.py,sha256=_iwCfC_2DTuyQrguK9TCJ8lN-NZBPZZ3BezHAT1dQb0,651
|
|
7
|
+
databento_dbn/v2.py,sha256=NDa-Tok4Fb3tLTaPB-pjOrmfhWuXSsxE_73eCkhb4FM,600
|
|
8
|
+
databento_dbn/v3.py,sha256=DJSe9o0LhjBJz7PCG9pnYlxDLbONRJG0-RMm0WsEpX4,565
|
|
9
|
+
databento_dbn-0.46.0.dist-info/METADATA,sha256=Y6hqX9H8TWErkk8sAqmxEi2pjEX8sqlwcJtFhWawzuk,2293
|
|
10
|
+
databento_dbn-0.46.0.dist-info/WHEEL,sha256=-480cMDHPnVFa_deVjjCLf-6WagVqn6ptFAYNJyGYCo,109
|
|
11
|
+
databento_dbn.libs/libgcc_s-39080030.so.1,sha256=fIO6GHOh8Ft9CR0Geu7wSUb9Xnl122iTtrxQQ9TAkTQ,789673
|
|
12
|
+
databento_dbn-0.46.0.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
databento_dbn-0.38.0.dist-info/METADATA,sha256=d-VkyldsOXZdgWijbskBz9nHf0jl6es_17vaMEnodBA,2157
|
|
2
|
-
databento_dbn-0.38.0.dist-info/WHEEL,sha256=PcHgcUbn24FBgdsh63fvJIfkev6mNGnROirvTvP3Bb8,108
|
|
3
|
-
databento_dbn.libs/libgcc_s-e52197c3.so.1,sha256=vkPW1Auw6CH9Bjk7frmX3hry_1H9c0tRI0Ncyg71WUI,724137
|
|
4
|
-
databento_dbn/__init__.py,sha256=yIvmw2ScoiVm1H5uQhdWdVYGg97vjRMoKiekICqWPyQ,1123
|
|
5
|
-
databento_dbn/_lib.cpython-312-aarch64-linux-musl.so,sha256=um5E_MKSuewiNMJrNllJM11AZPeB0i7SSv_MIj6sSk8,5508425
|
|
6
|
-
databento_dbn/_lib.pyi,sha256=0aj9kIYKJIzcvvitcZtPo8mrPwAOacD0NavwktrHssI,145935
|
|
7
|
-
databento_dbn/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
databento_dbn/v1.py,sha256=aY6fk7n1__CS6RWckiKgmqS9CgngcQcqdSgwr-416xM,657
|
|
9
|
-
databento_dbn/v2.py,sha256=lxYKBIfdMh4JkKDEVj4RtUn3asjMS9aSFX_eK4ukLBY,606
|
|
10
|
-
databento_dbn/v3.py,sha256=liE8qck_KPlNH2xZjmvUv4rQHImvXBZEc4l76o2fBfE,571
|
|
11
|
-
databento_dbn-0.38.0.dist-info/RECORD,,
|