bn-lightweight-charts 0.2.1__tar.gz → 0.2.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.
Files changed (20) hide show
  1. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/PKG-INFO +2 -1
  2. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/README.md +1 -0
  3. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/__init__.py +0 -1
  4. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/widgets.py +0 -11
  5. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/pyproject.toml +1 -1
  6. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/.gitignore +0 -0
  7. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/LICENSE +0 -0
  8. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/abstract.py +0 -0
  9. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/chart.py +0 -0
  10. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/drawings.py +0 -0
  11. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/js/bundle.js +0 -0
  12. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/js/index.html +0 -0
  13. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/js/index_bn.html +0 -0
  14. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/js/lightweight-charts.js +0 -0
  15. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/js/styles.css +0 -0
  16. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/polygon.py +0 -0
  17. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/table.py +0 -0
  18. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/toolbox.py +0 -0
  19. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/topbar.py +0 -0
  20. {bn_lightweight_charts-0.2.1 → bn_lightweight_charts-0.2.2}/bn_lightweight_charts/util.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bn-lightweight-charts
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python framework for TradingView's Lightweight Charts JavaScript library.
5
5
  Project-URL: Homepage, https://github.com/smalinin/bn_lightweight-charts-python
6
6
  Project-URL: Source, https://github.com/smalinin/bn_lightweight-charts-python
@@ -21,6 +21,7 @@ Description-Content-Type: text/markdown
21
21
  # bn-lightweight-charts-python
22
22
 
23
23
  [![PyPi Release](https://img.shields.io/pypi/v/bn-lightweight-charts?color=32a852&label=PyPi)](https://pypi.org/project/bn_lightweight-charts/)
24
+ [![Total downloads](https://img.shields.io/pepy/dt/bn-lightweight-charts?label=%E2%88%91&color=skyblue)](https://pypistats.org/packages/backtrader_next)
24
25
  [![Made with Python](https://img.shields.io/badge/Python-3.8+-c7a002?logo=python&logoColor=white)](https://python.org "Go to Python homepage")
25
26
  [![License](https://img.shields.io/github/license/smalinin/bn_lightweight-charts-python?color=9c2400)](https://github.com/smalinin/bn_lightweight-charts-python/blob/main/LICENSE)
26
27
  [![Documentation](https://img.shields.io/badge/documentation-006ee3)](https://lightweight-charts-python.readthedocs.io/en/latest/index.html)
@@ -3,6 +3,7 @@
3
3
  # bn-lightweight-charts-python
4
4
 
5
5
  [![PyPi Release](https://img.shields.io/pypi/v/bn-lightweight-charts?color=32a852&label=PyPi)](https://pypi.org/project/bn_lightweight-charts/)
6
+ [![Total downloads](https://img.shields.io/pepy/dt/bn-lightweight-charts?label=%E2%88%91&color=skyblue)](https://pypistats.org/packages/backtrader_next)
6
7
  [![Made with Python](https://img.shields.io/badge/Python-3.8+-c7a002?logo=python&logoColor=white)](https://python.org "Go to Python homepage")
7
8
  [![License](https://img.shields.io/github/license/smalinin/bn_lightweight-charts-python?color=9c2400)](https://github.com/smalinin/bn_lightweight-charts-python/blob/main/LICENSE)
8
9
  [![Documentation](https://img.shields.io/badge/documentation-006ee3)](https://lightweight-charts-python.readthedocs.io/en/latest/index.html)
@@ -3,5 +3,4 @@ from .chart import Chart
3
3
  from .widgets import JupyterChart
4
4
  from .widgets import HTMLChart
5
5
  from .widgets import HTMLChart_BN
6
- from .widgets import JupyterChart_BN
7
6
  from .polygon import PolygonChart
@@ -344,14 +344,3 @@ class HTMLChart_BN(StaticLWC):
344
344
  self.strat_titles.append(strat_title)
345
345
 
346
346
 
347
- class JupyterChart_BN(HTMLChart_BN):
348
- def __init__(self, width: int = 800, height=350, inner_width=1, inner_height=1, scale_candles_only: bool = False, toolbox: bool = False):
349
- super().__init__(width, height, inner_width, inner_height, scale_candles_only, toolbox, True)
350
-
351
-
352
- def _load(self):
353
- if HTML is None:
354
- raise ModuleNotFoundError('IPython.display.HTML was not found, and must be installed to use JupyterChart.')
355
- html_code = html.escape(self._prepare_html())
356
- iframe = f'<iframe width="{self.width}" height="{self.height}" frameBorder="0" srcdoc="{html_code}"></iframe>'
357
- display(HTML(iframe))
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bn-lightweight-charts"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "Python framework for TradingView's Lightweight Charts JavaScript library."
5
5
  readme = "README.md"
6
6
  license = { text = "MIT" }