Skip to content

Commit

Permalink
Release/4.0.0 (#5837)
Browse files Browse the repository at this point in the history
* pyproject toml and poetry.lock files

* static assets

* fix link to platform

* bump core

* 4.0.1 adjustments
  • Loading branch information
hjoaquim authored Nov 30, 2023
1 parent aea1c3b commit 10cfd1e
Show file tree
Hide file tree
Showing 80 changed files with 343 additions and 328 deletions.
2 changes: 1 addition & 1 deletion build/pypi/openbb_platform/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def publish(dry_run: bool = False, core: bool = False, extensions: bool = False)
for path in PLATFORM_PATH.rglob(f"{sub_path}/**/pyproject.toml"):
try:
# Update dependencies
if is_extension:
if is_extension and "devtools" not in str(path):
update_extension_dependencies(path)
# Bump version
bump_version(path)
Expand Down
9 changes: 4 additions & 5 deletions openbb_platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,19 @@ The OpenBB Platform provides a convenient way to access raw financial data from
The command below provides access to the core functionalities behind the OpenBB Platform.

```bash
pip install openbb --pre
pip install openbb
```

To install extensions that expand the core functionalities specify the extension name or use `all` to install all.

```bash
# Install single extension, e.g. openbb-charting
pip install openbb[charting] --pre
pip install openbb[charting]

# Install all available extensions
pip install openbb[all] --pre
pip install openbb[all]
``````

> The `--pre` flag is required to install the latest alpha version.
> Note: These instruction are specific to v4. For installation instructions and documentation for v3 go to our [website](https://docs.openbb.co/sdk).

## Python
Expand Down Expand Up @@ -104,7 +103,7 @@ Populate this file with the following template and replace the values with your
The OpenBB Platform comes with a ready to use REST API built with FastAPI. Start the application using this command:

```bash
uvicorn openbb_platform.platform.core.openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload
uvicorn openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload
```

Check `openbb-core` [README](https://pypi.org/project/openbb-core/) for additional info.
Expand Down
2 changes: 1 addition & 1 deletion openbb_platform/core/openbb_core/api/rest_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def startup():
╚═════════════╝ ╚═════════════╝
Investment research for everyone, anywhere.
https://my.openbb.co/app/sdk
https://my.openbb.co/app/platform
"""
logger.info(banner)
Expand Down
2 changes: 1 addition & 1 deletion openbb_platform/core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openbb-core"
version = "1.0.0rc0"
version = "1.0.1"
description = "OpenBB package with core functionality"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
Expand Down
16 changes: 4 additions & 12 deletions openbb_platform/extensions/charting/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openbb_platform/extensions/charting/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openbb-charting"
version = "1.0.0rc0"
version = "1.0.0"
description = "Charting extension for OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ pywry = "^0.6.1"
svglib = "^1.5.1"
nbformat = "^5.9.2"
pandas-ta = "^0.3.14b"
openbb-core = "^1.0.0rc0"
openbb-core = "^1.0.0"

[build-system]
requires = ["poetry-core"]
Expand Down
8 changes: 4 additions & 4 deletions openbb_platform/extensions/crypto/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openbb_platform/extensions/crypto/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tool.poetry]
name = "openbb-crypto"
version = "1.0.0rc0"
version = "1.0.0"
description = "Crypto extension for OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
packages = [{ include = "openbb_crypto" }]

[tool.poetry.dependencies]
python = "^3.8"
openbb-core = "^1.0.0rc0"
openbb-core = "^1.0.0"

[build-system]
requires = ["poetry-core"]
Expand Down
8 changes: 4 additions & 4 deletions openbb_platform/extensions/currency/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openbb_platform/extensions/currency/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tool.poetry]
name = "openbb-currency"
version = "1.0.0rc0"
version = "1.0.0"
description = "Currency extension for OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
packages = [{ include = "openbb_currency" }]

[tool.poetry.dependencies]
python = "^3.8"
openbb-core = "^1.0.0rc0"
openbb-core = "^1.0.0"

[build-system]
requires = ["poetry-core"]
Expand Down
8 changes: 4 additions & 4 deletions openbb_platform/extensions/derivatives/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openbb_platform/extensions/derivatives/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tool.poetry]
name = "openbb-derivatives"
version = "1.0.0rc0"
version = "1.0.0"
description = "Derivatives extension for OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
packages = [{ include = "openbb_derivatives" }]

[tool.poetry.dependencies]
python = "^3.8"
openbb-core = "^1.0.0rc0"
openbb-core = "^1.0.0"

[build-system]
requires = ["poetry-core"]
Expand Down
2 changes: 1 addition & 1 deletion openbb_platform/extensions/devtools/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openbb-devtools"
version = "1.0.0rc0"
version = "1.0.0"
description = "Tools for OpenBB Platform Developers"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
Expand Down
16 changes: 4 additions & 12 deletions openbb_platform/extensions/econometrics/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openbb_platform/extensions/econometrics/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openbb-econometrics"
version = "1.0.0rc0"
version = "1.0.0"
description = "Econometrics Toolkit for OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ scipy = "^1.10.1"
statsmodels = "^0.14.0"
arch = "^5.5.0"
linearmodels = "<=4.25" # ^4.26 has setuptools-scm in setup_requires
openbb-core = "^1.0.0rc0"
openbb-core = "^1.0.0"

[build-system]
requires = ["poetry-core"]
Expand Down
8 changes: 4 additions & 4 deletions openbb_platform/extensions/economy/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openbb_platform/extensions/economy/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tool.poetry]
name = "openbb-economy"
version = "1.0.0rc0"
version = "1.0.0"
description = "Economy extension for OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
packages = [{ include = "openbb_economy" }]

[tool.poetry.dependencies]
python = "^3.8"
openbb-core = "^1.0.0rc0"
openbb-core = "^1.0.0"

[build-system]
requires = ["poetry-core"]
Expand Down
8 changes: 4 additions & 4 deletions openbb_platform/extensions/equity/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openbb_platform/extensions/equity/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tool.poetry]
name = "openbb-equity"
version = "1.0.0rc0"
version = "1.0.0"
description = "Equity extension for OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
packages = [{ include = "openbb_equity" }]

[tool.poetry.dependencies]
python = "^3.8"
openbb-core = "^1.0.0rc0"
openbb-core = "^1.0.0"

[build-system]
requires = ["poetry-core"]
Expand Down
Loading

0 comments on commit 10cfd1e

Please sign in to comment.