databento 0.89.0__tar.gz → 0.91.0__tar.gz

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.
Files changed (43) hide show
  1. {databento-0.89.0 → databento-0.91.0}/PKG-INFO +9 -6
  2. {databento-0.89.0 → databento-0.91.0}/README.md +2 -2
  3. {databento-0.89.0 → databento-0.91.0}/databento/__init__.py +3 -2
  4. {databento-0.89.0 → databento-0.91.0}/databento/common/constants.py +0 -5
  5. {databento-0.89.0 → databento-0.91.0}/databento/common/dbnstore.py +449 -176
  6. {databento-0.89.0 → databento-0.91.0}/databento/common/enums.py +16 -35
  7. {databento-0.89.0 → databento-0.91.0}/databento/common/error.py +1 -1
  8. {databento-0.89.0 → databento-0.91.0}/databento/common/parsing.py +3 -1
  9. {databento-0.89.0 → databento-0.91.0}/databento/common/publishers.py +100 -39
  10. {databento-0.89.0 → databento-0.91.0}/databento/common/symbology.py +161 -33
  11. {databento-0.89.0 → databento-0.91.0}/databento/common/validation.py +3 -1
  12. {databento-0.89.0 → databento-0.91.0}/databento/historical/api/metadata.py +2 -1
  13. {databento-0.89.0 → databento-0.91.0}/databento/live/client.py +16 -7
  14. {databento-0.89.0 → databento-0.91.0}/databento/live/gateway.py +3 -5
  15. {databento-0.89.0 → databento-0.91.0}/databento/live/session.py +117 -61
  16. {databento-0.89.0 → databento-0.91.0}/databento/reference/api/adjustment.py +1 -2
  17. {databento-0.89.0 → databento-0.91.0}/databento/reference/api/corporate.py +5 -6
  18. {databento-0.89.0 → databento-0.91.0}/databento/reference/api/security.py +2 -4
  19. databento-0.91.0/databento/version.py +1 -0
  20. {databento-0.89.0 → databento-0.91.0}/pyproject.toml +10 -6
  21. {databento-0.89.0 → databento-0.91.0}/pyproject.toml.orig +10 -6
  22. databento-0.89.0/databento/version.py +0 -1
  23. {databento-0.89.0 → databento-0.91.0}/LICENSE +0 -0
  24. {databento-0.89.0 → databento-0.91.0}/databento/common/__init__.py +0 -0
  25. {databento-0.89.0 → databento-0.91.0}/databento/common/bentologging.py +0 -0
  26. {databento-0.89.0 → databento-0.91.0}/databento/common/cram.py +0 -0
  27. {databento-0.89.0 → databento-0.91.0}/databento/common/http.py +0 -0
  28. {databento-0.89.0 → databento-0.91.0}/databento/common/iterator.py +0 -0
  29. {databento-0.89.0 → databento-0.91.0}/databento/common/system.py +0 -0
  30. {databento-0.89.0 → databento-0.91.0}/databento/common/types.py +0 -0
  31. {databento-0.89.0 → databento-0.91.0}/databento/common/zstd.py +0 -0
  32. {databento-0.89.0 → databento-0.91.0}/databento/historical/__init__.py +0 -0
  33. {databento-0.89.0 → databento-0.91.0}/databento/historical/api/__init__.py +0 -0
  34. {databento-0.89.0 → databento-0.91.0}/databento/historical/api/batch.py +0 -0
  35. {databento-0.89.0 → databento-0.91.0}/databento/historical/api/symbology.py +0 -0
  36. {databento-0.89.0 → databento-0.91.0}/databento/historical/api/timeseries.py +0 -0
  37. {databento-0.89.0 → databento-0.91.0}/databento/historical/client.py +0 -0
  38. {databento-0.89.0 → databento-0.91.0}/databento/live/__init__.py +0 -0
  39. {databento-0.89.0 → databento-0.91.0}/databento/live/protocol.py +0 -0
  40. {databento-0.89.0 → databento-0.91.0}/databento/py.typed +0 -0
  41. {databento-0.89.0 → databento-0.91.0}/databento/reference/__init__.py +0 -0
  42. {databento-0.89.0 → databento-0.91.0}/databento/reference/api/__init__.py +0 -0
  43. {databento-0.89.0 → databento-0.91.0}/databento/reference/client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: databento
3
- Version: 0.89.0
3
+ Version: 0.91.0
4
4
  Summary: Official Python client library for Databento
5
5
  Author: Databento
6
6
  Author-email: Databento <support@databento.com>
@@ -9,11 +9,12 @@ License-File: LICENSE
9
9
  Classifier: Development Status :: 4 - Beta
10
10
  Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.10
13
12
  Classifier: Programming Language :: Python :: 3.11
14
13
  Classifier: Programming Language :: Python :: 3.12
15
14
  Classifier: Programming Language :: Python :: 3.13
16
15
  Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Programming Language :: Python :: 3.15
17
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
17
18
  Classifier: Topic :: Office/Business :: Financial
18
19
  Classifier: Topic :: Office/Business :: Financial :: Investment
19
20
  Classifier: Topic :: Software Development :: Libraries
@@ -21,7 +22,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
22
  Requires-Dist: aiohttp>=3.8.3,<4.0.0 ; python_full_version < '3.12'
22
23
  Requires-Dist: aiohttp>=3.9.0,<4.0.0 ; python_full_version >= '3.12'
23
24
  Requires-Dist: certifi>=2026.10.19
24
- Requires-Dist: databento-dbn~=0.70.0
25
+ Requires-Dist: databento-dbn~=0.75.0
25
26
  Requires-Dist: numpy>=1.23.5 ; python_full_version < '3.12'
26
27
  Requires-Dist: numpy>=1.26.0 ; python_full_version >= '3.12'
27
28
  Requires-Dist: pandas>=1.5.3,<4.0.0
@@ -29,11 +30,13 @@ Requires-Dist: pip-system-certs>=4.0 ; sys_platform == 'win32'
29
30
  Requires-Dist: pyarrow>=13.0.0
30
31
  Requires-Dist: requests>=2.27.0
31
32
  Requires-Dist: zstandard>=0.21.0 ; python_full_version < '3.14'
32
- Requires-Python: >=3.10
33
+ Requires-Dist: polars>=1.4.0 ; extra == 'polars'
34
+ Requires-Python: >=3.11
33
35
  Project-URL: Homepage, https://databento.com
34
36
  Project-URL: Documentation, https://databento.com/docs
35
37
  Project-URL: Repository, https://github.com/databento/databento-python
36
38
  Project-URL: Bug Tracker, https://github.com/databento/databento-python/issues
39
+ Provides-Extra: polars
37
40
  Description-Content-Type: text/markdown
38
41
 
39
42
  # databento-python
@@ -68,10 +71,10 @@ You can find our full client API reference on the [Historical Reference](https:/
68
71
  ## Requirements
69
72
  The library is fully compatible with distributions of Anaconda 2023.x and above.
70
73
  The minimum dependencies as found in the `pyproject.toml` are also listed below:
71
- - python >= 3.10
74
+ - python >= 3.11
72
75
  - aiohttp >= 3.8.3
73
76
  - certifi >= 2026.10.19
74
- - databento-dbn ~= 0.70.0
77
+ - databento-dbn ~= 0.75.0
75
78
  - numpy >= 1.23.5
76
79
  - pandas >= 1.5.3
77
80
  - pip-system-certs >= 4.0 (Windows only)
@@ -30,10 +30,10 @@ You can find our full client API reference on the [Historical Reference](https:/
30
30
  ## Requirements
31
31
  The library is fully compatible with distributions of Anaconda 2023.x and above.
32
32
  The minimum dependencies as found in the `pyproject.toml` are also listed below:
33
- - python >= 3.10
33
+ - python >= 3.11
34
34
  - aiohttp >= 3.8.3
35
35
  - certifi >= 2026.10.19
36
- - databento-dbn ~= 0.70.0
36
+ - databento-dbn ~= 0.75.0
37
37
  - numpy >= 1.23.5
38
38
  - pandas >= 1.5.3
39
39
  - pip-system-certs >= 4.0 (Windows only)
@@ -68,6 +68,7 @@ from databento.common.enums import RollRule
68
68
  from databento.common.enums import SplitDuration
69
69
  from databento.common.enums import SymbologyResolution
70
70
  from databento.common.error import BentoClientError
71
+ from databento.common.error import BentoDeprecationWarning
71
72
  from databento.common.error import BentoError
72
73
  from databento.common.error import BentoHttpError
73
74
  from databento.common.error import BentoServerError
@@ -161,8 +162,8 @@ __all__ = [
161
162
  # Setup logging
162
163
  logging.getLogger(__name__).addHandler(logging.NullHandler())
163
164
 
164
- # Setup deprecation warnings
165
- warnings.simplefilter("always", DeprecationWarning)
165
+ # Always show deprecation warnings raised by this package
166
+ warnings.simplefilter("always", BentoDeprecationWarning)
166
167
 
167
168
  # Convenience imports
168
169
  enable_logging = bentologging.enable_logging
@@ -1,6 +1,5 @@
1
1
  from typing import Final
2
2
 
3
- import numpy as np
4
3
  from databento_dbn import BBOMsg
5
4
  from databento_dbn import CBBOMsg
6
5
  from databento_dbn import CMBP1Msg
@@ -22,10 +21,6 @@ from databento_dbn import v2
22
21
  ALL_SYMBOLS: Final = "ALL_SYMBOLS"
23
22
 
24
23
 
25
- DEFINITION_TYPE_MAX_MAP: Final = {
26
- x[0]: np.iinfo(x[1]).max for x in InstrumentDefMsg._dtypes if not isinstance(x[1], str)
27
- }
28
-
29
24
  HTTP_STREAMING_READ_SIZE: Final = 2**12
30
25
 
31
26
  SCHEMA_STRUCT_MAP: Final[dict[Schema, type[DBNRecord]]] = {