Files
OpenBB/openbb_sdk/pyproject.toml
teh_coderer 6a9308c3e7 Feature/sdk v4 pydantic v2 (#5458)
* init

* Update provider_interface.py

* docstring

* pydantic v2

* Update __init__.py

* build package v2 support

* `alises` to `aliases`

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* `alises` to `aliases`

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* `alises` to `aliases`

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* updates

* Update registry.py

* validate_arguments -> validate_call

* update terminal classes

* response_model_by_alias = False

* query_params by alias

* Update major_indices_constituents.py

* add alias to Query in `provider_interface`

* yfinance

* build package, add param defaults and correct `OBBject` results type

* fix cpi validation errors

* Update risk_premium.py

* fix `forex_pairs` active query param annotation, set default when only 1 provider

* fix and refactor intrinio `options_chains`

* Update poetry.lock

* fix benzinga news, build package, add intrinio fred_historical fetcher

* Update extension_map.json

* ruff

* Update unit_test_generator.py

* updates

* add `default=None` on Optional fields

* `parse_obj` -> `model_validate`

* add alias to dup fields on providers with `__alias_dict__`, fix `test_generate_model_docstring`

* Update package_builder.py

* fix validation errors, fix tests

* tests http

* `fred_historical` record

* Update test_intrinio_fetchers.py

* Update test_intrinio_fetchers.py

* Update test_intrinio_fetchers.py

* Update available_indices.py

* Update stock_historical.py

* build package

* build package without optional

* change `SystemSettings` -> `MockSystemSettings` in `test_system_settings.py`

* `openbb_figure.py`/`backend.py` terminal changes  , update deps/lock files

* `linearmodels>4.26`  auto installs `setuptools-scm` which cause error messages

* clean up

* `dev_install.py` for local development

* ruff

* dup `# noqa`

* build

* Update bitquery_model.py

* records

* rec

* f

* worky?

* update `integration_test_generator.py` and `unit_test_generator.py`

* renamed test to tests in file

* fix import due to change in file name

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-09-27 09:40:07 +01:00

69 lines
1.8 KiB
TOML
Vendored

[tool.poetry]
name = "openbb"
version = "4.0.0a2"
description = "OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
packages = [{ include = "openbb" }]
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
openbb-core = "^0.1.0a1"
openbb-benzinga = "^0.1.0a2"
openbb-fmp = "^0.1.0a2"
openbb-fred = "^0.1.0a2"
openbb-intrinio = "^0.1.0a2"
openbb-polygon = "^0.1.0a2"
openbb-crypto = "^0.1.0a2"
openbb-economy = "^0.1.0a2"
openbb-forex = "^0.1.0a2"
openbb-fixedincome = "^0.1.0a2"
openbb-news = "^0.1.0a2"
openbb-stocks = "^0.1.0a2"
# Community dependencies
openbb-alpha-vantage = { version = "^0.1.0a2", optional = true }
openbb-cboe = { version = "^0.1.0a2", optional = true }
openbb-quandl = { version = "^0.1.0a2", optional = true }
openbb-yfinance = { version = "^0.1.0a2", optional = true }
openbb-charting = { version = "^0.1.0a2", optional = true }
openbb-futures = { version = "^0.1.0a2", optional = true }
openbb-qa = { version = "^0.1.0a2", optional = true }
openbb-ta = { version = "^0.1.0a2", optional = true }
openbb-econometrics = { version = "^0.1.0a2", optional = true }
[tool.poetry.extras]
alpha_vantage = ["openbb-alpha-vantage"]
cboe = ["openbb-cboe"]
quandl = ["openbb-quandl"]
yfinance = ["openbb-yfinance"]
charting = ["openbb-charting"]
futures = ["openbb-futures"]
qa = ["openbb-qa"]
ta = ["openbb-ta"]
econometrics = ["openbb-econometrics"]
all = [
"openbb-alpha-vantage",
"openbb-cboe",
"openbb-quandl",
"openbb-yfinance",
"openbb-charting",
"openbb-futures",
"openbb-qa",
"openbb-ta",
"openbb-econometrics",
]
[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
pytest-subtests = "^0.11.0"
pytest-recorder = "^0.2.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"