openbb-charting 2.1.3__tar.gz → 2.2.1__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.
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/PKG-INFO +7 -5
- openbb_charting-2.2.1/openbb_charting/__init__.py +25 -0
- openbb_charting-2.2.1/openbb_charting/_charting_router.py +860 -0
- openbb_charting-2.2.1/openbb_charting/_query_params.py +96 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charting.py +86 -49
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/generic_charts.py +39 -26
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/helpers.py +19 -11
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/price_historical.py +22 -17
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/price_performance.py +13 -11
- openbb_charting-2.2.1/openbb_charting/charts/py.typed +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/relative_rotation.py +18 -10
- openbb_charting-2.2.1/openbb_charting/core/assets/plotly.min.js +8 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/backend.py +75 -69
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/config/openbb_styles.py +5 -4
- openbb_charting-2.2.1/openbb_charting/core/config/py.typed +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/dummy_backend.py +0 -25
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/openbb_figure.py +80 -51
- openbb_charting-2.2.1/openbb_charting/core/plotly_old.html +3621 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/base.py +18 -7
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/data_classes.py +23 -17
- openbb_charting-2.2.1/openbb_charting/core/plotly_ta/not_singleton_ta_class.py +601 -0
- openbb_charting-2.2.1/openbb_charting/core/plotly_ta/py.typed +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/ta_class.py +7 -5
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/ta_helpers.py +8 -5
- openbb_charting-2.2.1/openbb_charting/core/py.typed +0 -0
- openbb_charting-2.2.1/openbb_charting/core/table copy.html +329 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/to_chart.py +12 -10
- openbb_charting-2.2.1/openbb_charting/frontend-components/tables/package.json +51 -0
- openbb_charting-2.2.1/openbb_charting/py.typed +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/query_params.py +3 -2
- openbb_charting-2.2.1/openbb_charting/styles/colors.txt +35 -0
- openbb_charting-2.2.1/openbb_charting/styles/py.typed +0 -0
- openbb_charting-2.2.1/openbb_charting/utils/field_style.py +280 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/pyproject.toml +8 -4
- openbb_charting-2.1.3/openbb_charting/__init__.py +0 -14
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/README.md +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/__init__.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/__init__.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/assets/Terminal_icon.png +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/assets/plotly-2.32.0.min.js +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/chart_style.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/config/__init__.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly.html +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/__init__.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/__init__.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/custom_indicators_plugin.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/momentum_plugin.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/overlap_plugin.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/trend_indicators_plugin.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/volatility_plugin.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/volume_plugin.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/table.html +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/__init__.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/colors.py +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/default/dark.pltstyle.json +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/default/light.pltstyle.json +0 -0
- {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/default/tables.pltstyle.json +0 -0
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: openbb-charting
|
|
3
|
-
Version: 2.1
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: Charting extension for OpenBB
|
|
5
5
|
License: AGPL-3.0-only
|
|
6
6
|
Author: OpenBB Team
|
|
7
7
|
Author-email: hello@openbb.co
|
|
8
|
-
Requires-Python: >=3.
|
|
8
|
+
Requires-Python: >=3.9,<3.13
|
|
9
9
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Provides-Extra: pywry
|
|
15
16
|
Requires-Dist: nbformat (>=5.9.2,<6.0.0)
|
|
16
|
-
Requires-Dist:
|
|
17
|
+
Requires-Dist: numpy (>=1,<2)
|
|
18
|
+
Requires-Dist: openbb-core (>=1.3.1,<2.0.0)
|
|
17
19
|
Requires-Dist: pandas-ta (>=0.3.14b,<0.4.0)
|
|
18
20
|
Requires-Dist: plotly (>=5.17.0,<6.0.0)
|
|
19
|
-
Requires-Dist: pywry (>=0.6.1,<0.7.0)
|
|
21
|
+
Requires-Dist: pywry (>=0.6.1,<0.7.0) ; extra == "pywry"
|
|
20
22
|
Requires-Dist: scipy (>=1.10.0,<2.0.0)
|
|
21
23
|
Requires-Dist: statsmodels (>=0.14.0,<0.15.0)
|
|
22
24
|
Description-Content-Type: text/markdown
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""OpenBB OBBject extension for charting."""
|
|
2
|
+
|
|
3
|
+
import warnings
|
|
4
|
+
|
|
5
|
+
from openbb_core.app.model.extension import Extension
|
|
6
|
+
|
|
7
|
+
warnings.filterwarnings(
|
|
8
|
+
"ignore",
|
|
9
|
+
category=UserWarning,
|
|
10
|
+
module="openbb_core.app.model.extension",
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def get_charting_module():
|
|
15
|
+
"""Get the Charting module."""
|
|
16
|
+
# pylint: disable=import-outside-toplevel
|
|
17
|
+
import importlib
|
|
18
|
+
|
|
19
|
+
_Charting = importlib.import_module("openbb_charting.charting").Charting
|
|
20
|
+
return _Charting
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
ext = Extension(name="charting", description="Create custom charts from OBBject data.")
|
|
24
|
+
|
|
25
|
+
Charting = ext.obbject_accessor(get_charting_module())
|