- Removed ChartAsync.
- Added the `show_async` method to `Chart`.
- Refactored how the TopBar is used. The docs explain this in detail, but a basic rundown is:
- `corner_text` and `create_switcher` are no longer methods. The `topbar` attribute of `chart` should be used instead.
- switchers and textboxes, now created with `chart.topbar.textbox` and `chart.topbar.switcher` require a name to be passed to them, which is used to access its instance (e.g `chart.topbar[‘timeframe’]`)
- If you have any questions about these changes, or potential enhancements, feel free to raise an issue and I will get back to you ASAP :)
- PtQt and Wx can now use either synchronous or asynchronous callback functions
- BETA: Support for Jupyter Notebooks
- Fixed a bug causing the ‘date’ column of DataFrames passed to `set`, `update`, and `update_from_tick` to be modified.
22 lines
610 B
Python
22 lines
610 B
Python
from setuptools import setup, find_packages
|
|
|
|
with open('README.md', 'r', encoding='utf-8') as f:
|
|
long_description = f.read()
|
|
|
|
setup(
|
|
name='lightweight_charts',
|
|
version='1.0.10',
|
|
packages=find_packages(),
|
|
python_requires='>=3.9',
|
|
install_requires=[
|
|
'pandas',
|
|
'pywebview',
|
|
],
|
|
author='louisnw',
|
|
license='MIT',
|
|
description="Python framework for TradingView's Lightweight Charts JavaScript library.",
|
|
long_description=long_description,
|
|
long_description_content_type='text/markdown',
|
|
url='https://github.com/louisnw01/lightweight-charts-python',
|
|
)
|