Skip to main content

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.

Static Chart Example Multi Chart Layouts Drawing Tools

💎 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:

📚 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

  1. Visual Studio 2022: Install the C++ Build Tools.
  2. 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

chart_engine-0.9.2-cp38-abi3-win_amd64.whl (7.3 MB view details)

Uploaded CPython 3.8+Windows x86-64

chart_engine-0.9.2-cp38-abi3-manylinux_2_39_x86_64.whl (84.5 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.39+ x86-64

chart_engine-0.9.2-cp38-abi3-macosx_11_0_arm64.whl (9.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file chart_engine-0.9.2-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: chart_engine-0.9.2-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

Hashes for chart_engine-0.9.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 257c26f41c5921a0f50f146caf9ce280befe394b5e251b671796d35f9a7cee75
MD5 a9b2be860e435af67a0464495ccab7d3
BLAKE2b-256 18cc02f312b46756488349eef8c41735f9b7d85dcba44cd06be699308698c14d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chart_engine-0.9.2-cp38-abi3-win_amd64.whl:

Publisher: build_wheels.yml on armeya25/lwc_chart_engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chart_engine-0.9.2-cp38-abi3-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for chart_engine-0.9.2-cp38-abi3-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 500bf3acf243601fdb9dd403804bf8cd50b9f10d49a347a6500420ae835f321e
MD5 d7b6950f4368ba70d5d39f23edad29e9
BLAKE2b-256 4d873a380b7f200d88cf238dec8de98f436159c55cfa9cfe3e7aeb40e7a4cdc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for chart_engine-0.9.2-cp38-abi3-manylinux_2_39_x86_64.whl:

Publisher: build_wheels.yml on armeya25/lwc_chart_engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chart_engine-0.9.2-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for chart_engine-0.9.2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb7a1e3653845ef7db610ff9070a377d05bcbbc05ef1824819e62a8a988ff3a5
MD5 1c1eaa289354ffcfb54800e318762f41
BLAKE2b-256 7ea605e2bee1da43e01897a91dd20f0b3418c1ac61e6a7534e76c28370ebf67f

See more details on using hashes here.

Provenance

The following attestation bundles were made for chart_engine-0.9.2-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on armeya25/lwc_chart_engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page