bayesline-api 0.0.2__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.
@@ -0,0 +1,11 @@
1
+ Metadata-Version: 2.1
2
+ Name: bayesline-api
3
+ Version: 0.0.2
4
+ Summary:
5
+ Requires-Python: >=3.10,<4.0
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Programming Language :: Python :: 3.10
8
+ Classifier: Programming Language :: Python :: 3.11
9
+ Classifier: Programming Language :: Python :: 3.12
10
+ Requires-Dist: pandas (>=1.5.3)
11
+ Requires-Dist: pydantic (>=2.6.3,<3.0.0)
@@ -0,0 +1,40 @@
1
+ [tool.poetry]
2
+ name = "bayesline-api"
3
+ version = "0.0.2"
4
+ description = ""
5
+ authors = []
6
+ packages = [
7
+ {include = "bayesline", from = "src"}
8
+ ]
9
+
10
+
11
+ [tool.poetry_bumpversion.file."src/bayesline/api/__init__.py"]
12
+
13
+
14
+ [tool.poetry.dependencies]
15
+ python = "^3.10"
16
+ pydantic = "^2.6.3"
17
+ pandas = ">=1.5.3"
18
+
19
+ [tool.poetry.group.dev.dependencies]
20
+ black = "*"
21
+ pre-commit = "*"
22
+ pytest = "*"
23
+ ruff = "*"
24
+ mypy = "^1.8.0"
25
+ isort = "^5.13.2"
26
+ pytest-cov = "^4.1.0"
27
+ pandas-stubs = "^2.2.1.240316"
28
+
29
+ [build-system]
30
+ requires = ["poetry-core"]
31
+ build-backend = "poetry.core.masonry.api"
32
+
33
+ [[tool.poetry.source]]
34
+ name = "aws-pypi"
35
+ url = "http://18.118.81.240:8080"
36
+ priority = "primary"
37
+
38
+
39
+ [tool.ruff]
40
+ ignore = ["PLR0913"]
@@ -0,0 +1,31 @@
1
+ __version__ = "0.0.2"
2
+
3
+ from bayesline.api._src.api import AsyncBayeslineApi, BayeslineApi
4
+ from bayesline.api._src.registry import (
5
+ AsyncInMemorySettingsRegistry,
6
+ AsyncRegistry,
7
+ AsyncSettingsRegistry,
8
+ InMemorySettingsRegistry,
9
+ Registry,
10
+ SettingsMenu,
11
+ SettingsMenuType,
12
+ SettingsMetaData,
13
+ SettingsRegistry,
14
+ SettingsType,
15
+ )
16
+
17
+ __all__ = [
18
+ "SettingsType",
19
+ "SettingsMenuType",
20
+ "types",
21
+ "SettingsMenu",
22
+ "BayeslineApi",
23
+ "AsyncBayeslineApi",
24
+ "SettingsRegistry",
25
+ "AsyncSettingsRegistry",
26
+ "InMemorySettingsRegistry",
27
+ "AsyncInMemorySettingsRegistry",
28
+ "Registry",
29
+ "AsyncRegistry",
30
+ "SettingsMetaData",
31
+ ]
File without changes
@@ -0,0 +1,17 @@
1
+ import abc
2
+
3
+ from bayesline.api._src.equity.api import AsyncBayeslineEquityApi, BayeslineEquityApi
4
+
5
+
6
+ class BayeslineApi(abc.ABC):
7
+
8
+ @property
9
+ @abc.abstractmethod
10
+ def equity(self) -> BayeslineEquityApi: ...
11
+
12
+
13
+ class AsyncBayeslineApi(abc.ABC):
14
+
15
+ @property
16
+ @abc.abstractmethod
17
+ def equity(self) -> AsyncBayeslineEquityApi: ...