High-performance charting engine built with Rust and Tauri
Project description
🚀 LWC Chart Engine
A high-performance charting engine built with Rust, Tauri, and Lightweight Charts. This library provides a seamless, non-blocking Python API for streaming and visualizing large datasets via Polars.
installable wheels for Os are in wheels/ folder
💎 Features
- High Performance: Native Rust backend for low-latency data streaming.
- Embedded UI: Minified frontend assets bundled directly into the distribution.
- Python Integration: First-class support for Polars DataFrames.
🚀 Quick Start
We provide scripts to automate the build and installation process. Choose the one that fits your needs:
🛠 Development Build
For a fast development cycle (installs in your current environment):
./helpers/dev.sh
📦 Production Build
To generate a distribution-ready wheel:
./helpers/create-wheels.sh
📊 Examples
Dive into the examples/ directory to see the full capabilities:
- static_charts.py: Basic rendering of historical OHLC data.
- live_chart_emulation.py: Real-time data streaming and auto-scrolling.
- drawing_tools.py: Programmatic Trendlines, Rays, Fibonacci, and Boxes.
- multi_chart_layouts.py: Building complex workspaces with 2, 3, or 4 subcharts.
- paper_trading.py: Backend programmatic execution and TP/SL visual management.
- ui_customization.py: Full control over tooltips, watermarks, timezones, and legends.
📚 Documentation
For a full list of methods, configuration options, and advanced drawing logic, see the API Documentation.
🏗 Prerequisites
To build the package from source, ensure you have the following toolchains and dependencies installed.
⚙ Toolchains
- Rust: Latest stable (cargo, rustc).
- Python: 3.12+ (or 3.13 for the provided wheel).
- Node.js: Needed for frontend asset minification (
esbuild). - Maturin:
pip install maturin(for building the Python extension).
🐧 Linux Dependencies
🛠 For Building from Source
Ubuntu / Debian:
sudo apt update && sudo apt install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev
Arch Linux:
sudo pacman -S gtk3 webkit2gtk-4.1 libayatana-appindicator librsvg
📦 For Running Pre-built Wheels
If you installed the pre-built wheel (from PyPI or GitHub), you only need the runtime libraries:
Ubuntu / Debian:
sudo apt update && sudo apt install -y libgtk-3-0 libwebkit2gtk-4.1-0 libjavascriptcoregtk-4.1-0 libayatana-appindicator3-1 librsvg2-2
Fedora:
sudo dnf install gtk3 webkit2gtk4.1 libayatana-appindicator3 librsvg2
Arch Linux:
sudo pacman -S gtk3 webkit2gtk-4.1 libayatana-appindicator-gtk3 librsvg
🍎 macOS Dependencies
Install the Xcode Command Line Tools:
xcode-select --install
🪟 Windows Dependencies
- Visual Studio 2022: Install the C++ Build Tools.
- WebView2: Most recent Windows versions include this by default. If not, install the WebView2 Runtime.
build by amit vaidya
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chart_engine-0.9.1-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: chart_engine-0.9.1-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 7.3 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
551516779c029461787cc287054266c580c4533e7ac46163469feb02b9ac18fd
|
|
| MD5 |
b988c95dd613e6fc8c6bd9f22766e6d2
|
|
| BLAKE2b-256 |
d394bcf863537e850e01d2c10021e50215fd26bef0043a1c7a317707de79f318
|
Provenance
The following attestation bundles were made for chart_engine-0.9.1-cp38-abi3-win_amd64.whl:
Publisher:
build_wheels.yml on armeya25/lwc_chart_engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chart_engine-0.9.1-cp38-abi3-win_amd64.whl -
Subject digest:
551516779c029461787cc287054266c580c4533e7ac46163469feb02b9ac18fd - Sigstore transparency entry: 1278101775
- Sigstore integration time:
-
Permalink:
armeya25/lwc_chart_engine@96fe90b500a141cb89ebaf647314b34e544e85d3 -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/armeya25
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@96fe90b500a141cb89ebaf647314b34e544e85d3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chart_engine-0.9.1-cp38-abi3-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: chart_engine-0.9.1-cp38-abi3-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 84.5 MB
- Tags: CPython 3.8+, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b96d306b4080d4a8673374a302327b2064f6e16f60e6186c5e8d71e52dafcc8
|
|
| MD5 |
58dd1b64e03d3e9ba2a600aae919dde3
|
|
| BLAKE2b-256 |
39c0a1305bcd0cdc09e641e06286b53e59bb02876d1b3a6c4d293aeef1392db5
|
Provenance
The following attestation bundles were made for chart_engine-0.9.1-cp38-abi3-manylinux_2_39_x86_64.whl:
Publisher:
build_wheels.yml on armeya25/lwc_chart_engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chart_engine-0.9.1-cp38-abi3-manylinux_2_39_x86_64.whl -
Subject digest:
1b96d306b4080d4a8673374a302327b2064f6e16f60e6186c5e8d71e52dafcc8 - Sigstore transparency entry: 1278101778
- Sigstore integration time:
-
Permalink:
armeya25/lwc_chart_engine@96fe90b500a141cb89ebaf647314b34e544e85d3 -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/armeya25
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@96fe90b500a141cb89ebaf647314b34e544e85d3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file chart_engine-0.9.1-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: chart_engine-0.9.1-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 9.4 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73ee53abe65cf768ef524fc560dfe7d4c2de7812fb95a0347e78e136097301e4
|
|
| MD5 |
10f2b62845a8e0b6119a14318bc0392b
|
|
| BLAKE2b-256 |
f8b72ffe9329db8d8fee4bed6b42069104af539b4c943cfabceb9f265a882f4c
|
Provenance
The following attestation bundles were made for chart_engine-0.9.1-cp38-abi3-macosx_11_0_arm64.whl:
Publisher:
build_wheels.yml on armeya25/lwc_chart_engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chart_engine-0.9.1-cp38-abi3-macosx_11_0_arm64.whl -
Subject digest:
73ee53abe65cf768ef524fc560dfe7d4c2de7812fb95a0347e78e136097301e4 - Sigstore transparency entry: 1278101764
- Sigstore integration time:
-
Permalink:
armeya25/lwc_chart_engine@96fe90b500a141cb89ebaf647314b34e544e85d3 -
Branch / Tag:
refs/tags/v0.9.1 - Owner: https://github.com/armeya25
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@96fe90b500a141cb89ebaf647314b34e544e85d3 -
Trigger Event:
push
-
Statement type: