Tables Feature - Added the `create_table` method, which returns a `Table` object. This can be used to display watchlists, order windows, position windows and more. - See the new page on the docs for more information! Bugs - Fixed a bug preventing the named column of a line to not work as a label of the series. - Fixed a bug causing drawings loaded from the minute timeframe to not show on a daily timeframe. - Fixed a bug causing `chart.exit` to not work. - Fixed a bug preventing the chart from being moved after placing a ray. - Fixed the ‘price in hoveringOver’ web console error. Enhancements - The date/time column can also be the `name` of the passed series object. - Added the `label` method to `HorizontalLine`, allowing for the price line label of horizontal lines to be updated. - `None` or an empty DataFrame can now be passed to `line.set` as a means to clear it. - Seperate Chart objects will now run on the same pywebview instance. This means that any Chart objects created after the first will inherit the first Chart’s API. - Reorganized the documentation for clarity.
25 lines
679 B
Python
25 lines
679 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.15',
|
|
packages=find_packages(),
|
|
python_requires='>=3.8',
|
|
install_requires=[
|
|
'pandas',
|
|
'pywebview',
|
|
],
|
|
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',
|
|
)
|