Skip to content

jackroc97/py-lightweight-charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyLightweightCharts

A python wrapper for lightweight-charts.

How to Build & Install this Library

Clone this repo from GitHub

# Clone the py-lightweight charts library and install requirements
git clone https://github.com/jackroc97/py-lightweight-charts.git
cd py-lightweight-charts
python -m pip install -r requirements.txt

Clone the lightweight-charts library and build

# Clone and build lightweight-charts project (requires npm)
git clone https://github.com/tradingview/lightweight-charts.git
cd lightweight-charts
npm install
cd website
npm install

# Build the lightweight-charts project per their instructions
cd ../
npm run build:prod

Build this library

# Copy the built lightweight-charts library to the `static` folder in py-lightweight-charts
cp dist/lightweight-charts.standalone.production.js ../src/py_lightweight_charts/static

# Build py-lightweight-charts
cd ../
python -m build .

Install this library

python -m pip install dist/py_lightweight_charts-0.0.1-py3-none-any.whl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published