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.
Files changed (57) hide show
  1. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/PKG-INFO +7 -5
  2. openbb_charting-2.2.1/openbb_charting/__init__.py +25 -0
  3. openbb_charting-2.2.1/openbb_charting/_charting_router.py +860 -0
  4. openbb_charting-2.2.1/openbb_charting/_query_params.py +96 -0
  5. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charting.py +86 -49
  6. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/generic_charts.py +39 -26
  7. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/helpers.py +19 -11
  8. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/price_historical.py +22 -17
  9. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/price_performance.py +13 -11
  10. openbb_charting-2.2.1/openbb_charting/charts/py.typed +0 -0
  11. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/relative_rotation.py +18 -10
  12. openbb_charting-2.2.1/openbb_charting/core/assets/plotly.min.js +8 -0
  13. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/backend.py +75 -69
  14. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/config/openbb_styles.py +5 -4
  15. openbb_charting-2.2.1/openbb_charting/core/config/py.typed +0 -0
  16. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/dummy_backend.py +0 -25
  17. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/openbb_figure.py +80 -51
  18. openbb_charting-2.2.1/openbb_charting/core/plotly_old.html +3621 -0
  19. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/base.py +18 -7
  20. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/data_classes.py +23 -17
  21. openbb_charting-2.2.1/openbb_charting/core/plotly_ta/not_singleton_ta_class.py +601 -0
  22. openbb_charting-2.2.1/openbb_charting/core/plotly_ta/py.typed +0 -0
  23. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/ta_class.py +7 -5
  24. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/ta_helpers.py +8 -5
  25. openbb_charting-2.2.1/openbb_charting/core/py.typed +0 -0
  26. openbb_charting-2.2.1/openbb_charting/core/table copy.html +329 -0
  27. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/to_chart.py +12 -10
  28. openbb_charting-2.2.1/openbb_charting/frontend-components/tables/package.json +51 -0
  29. openbb_charting-2.2.1/openbb_charting/py.typed +0 -0
  30. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/query_params.py +3 -2
  31. openbb_charting-2.2.1/openbb_charting/styles/colors.txt +35 -0
  32. openbb_charting-2.2.1/openbb_charting/styles/py.typed +0 -0
  33. openbb_charting-2.2.1/openbb_charting/utils/field_style.py +280 -0
  34. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/pyproject.toml +8 -4
  35. openbb_charting-2.1.3/openbb_charting/__init__.py +0 -14
  36. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/README.md +0 -0
  37. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/charts/__init__.py +0 -0
  38. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/__init__.py +0 -0
  39. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/assets/Terminal_icon.png +0 -0
  40. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/assets/plotly-2.32.0.min.js +0 -0
  41. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/chart_style.py +0 -0
  42. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/config/__init__.py +0 -0
  43. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly.html +0 -0
  44. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/__init__.py +0 -0
  45. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/__init__.py +0 -0
  46. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/custom_indicators_plugin.py +0 -0
  47. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/momentum_plugin.py +0 -0
  48. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/overlap_plugin.py +0 -0
  49. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/trend_indicators_plugin.py +0 -0
  50. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/volatility_plugin.py +0 -0
  51. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/plotly_ta/plugins/volume_plugin.py +0 -0
  52. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/core/table.html +0 -0
  53. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/__init__.py +0 -0
  54. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/colors.py +0 -0
  55. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/default/dark.pltstyle.json +0 -0
  56. {openbb_charting-2.1.3 → openbb_charting-2.2.1}/openbb_charting/styles/default/light.pltstyle.json +0 -0
  57. {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
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,<3.12
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: openbb-core (>=1.2.4,<2.0.0)
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())