bn-lightweight-charts 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl

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.
@@ -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
  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)
@@ -1,4 +1,4 @@
1
- bn_lightweight_charts/__init__.py,sha256=dvjZlfIG1SFRdVFSxW-VOZw3v5IVElM1kjry0oroJdA,239
1
+ bn_lightweight_charts/__init__.py,sha256=5RdQFzvOLx8wBAtgxp2NTpqAuDJMMeXfUoMiXNJGiKk,202
2
2
  bn_lightweight_charts/abstract.py,sha256=nynPR6wjTzv7dKaAqA9hFXcM8aCM4g-SXOMEA3wC5MY,39286
3
3
  bn_lightweight_charts/chart.py,sha256=umQ154Z8NLci2dyQJQxqvsghdjbhAJs8lsoNvScpwEk,7211
4
4
  bn_lightweight_charts/drawings.py,sha256=ANg54TShelOp7SvwQkD2P5_7_-zMTYX6tLDdCpsIcOQ,8394
@@ -7,13 +7,13 @@ bn_lightweight_charts/table.py,sha256=72OMLQrUlWfJ7iz7VurexmWrXGzV1vkr_tpjPkm3DU
7
7
  bn_lightweight_charts/toolbox.py,sha256=PhvpXOW_tDAxDcG94uIGBK_f6gFjNH9h1xHKzQNo5zU,1521
8
8
  bn_lightweight_charts/topbar.py,sha256=nSC5_geDvJfjAJ3eBtZs7cRElhXBt7ODDBnJIGnhdJM,4660
9
9
  bn_lightweight_charts/util.py,sha256=X6v6IZc6CcZX7ARvmb4CedLmxzU42yVjpouxBzhcPTA,7535
10
- bn_lightweight_charts/widgets.py,sha256=0M2IQSmoIX2cK2MBzcoSYl4geN78GpxHKyHCGr3Rqs4,14529
10
+ bn_lightweight_charts/widgets.py,sha256=g90unFqAxwQ-Z9ToAsnqOsKuqmGJYwy4FH5y_TI0rB0,13877
11
11
  bn_lightweight_charts/js/bundle.js,sha256=AQyl4kOKB7g4t0wEyvaynUcMyXulUksGMjf1Bk42FKA,50708
12
12
  bn_lightweight_charts/js/index.html,sha256=CsPlIOqaidmQZucaJKdr1jfKWqSGP-NTuXso71AqsUw,670
13
13
  bn_lightweight_charts/js/index_bn.html,sha256=NFBZYk0YgOs0XOEzcC_xLZnQrA-bQprVMwBrKAS1mNc,6425
14
14
  bn_lightweight_charts/js/lightweight-charts.js,sha256=19vIfLfo_MW1TWxMB1NbNp82m9S84zrJd0A3R1CQl6U,180587
15
15
  bn_lightweight_charts/js/styles.css,sha256=hpr57ZOGU_Wibag2rrB6GyvObQkr6d8ySyaSLs9UnZI,4811
16
- bn_lightweight_charts-0.2.1.dist-info/METADATA,sha256=bX9gPdRrXz_Duyn-dG0k4-ucF4zSjziRIzmrLfo4O_M,9829
17
- bn_lightweight_charts-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
18
- bn_lightweight_charts-0.2.1.dist-info/licenses/LICENSE,sha256=c1BNniz3_GfGwKHblopMfeUQ2uiORYkfH33m7el-x7o,1094
19
- bn_lightweight_charts-0.2.1.dist-info/RECORD,,
16
+ bn_lightweight_charts-0.2.2.dist-info/METADATA,sha256=fKdOKQM9Ihk0veGkaJcIhcyCzD-aRijSLIfx3sCp43Y,9982
17
+ bn_lightweight_charts-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
18
+ bn_lightweight_charts-0.2.2.dist-info/licenses/LICENSE,sha256=c1BNniz3_GfGwKHblopMfeUQ2uiORYkfH33m7el-x7o,1094
19
+ bn_lightweight_charts-0.2.2.dist-info/RECORD,,