- Added the `screen` parameter to `Chart`, allowing for monitor selection. This should be an index from 0 (0 = primary monitor, 1= second monitor, etc.) - `vertical_span` method, allowing for vertical lines/spans to be drawn across the chart. - `set_visible_range` method, which will set the visible range of the chart based on two given dates. - `resize` method, which resizes the chart to the given size. - `sync` will now sync both charts, regardless of which one is scrolled/zoomed.
25 lines
686 B
Python
25 lines
686 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.17.1',
|
|
packages=find_packages(),
|
|
python_requires='>=3.8',
|
|
install_requires=[
|
|
'pandas',
|
|
'pywebview>=4.3',
|
|
],
|
|
package_data={
|
|
'lightweight_charts': ['js/*.js'],
|
|
},
|
|
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',
|
|
)
|