Skip to main content
spaday-lightweight-charts logo, panels with charts emerging from a lotus leaf

TradingView Lightweight Charts for spaday.

Build Status codecov License PyPI

Documentation

Quick example

from spaday import serve
from spaday_lightweight_charts import LightweightChart

chart = LightweightChart(
    type="area",
    data=[{"time": "2026-01-01", "value": 42}],
)

serve(chart, packages=["lightweight-charts"])

data accepts a point array or a time-keyed mapping. Bind it to a spaday store field for live updates. Supported series types are line, area, candlestick, bar, and histogram.

Run the local example

python -m pip install -e ".[examples]"
python -m spaday_lightweight_charts.example

Open http://127.0.0.1:8011 to inspect the complete dashboard example: three responsive charts, server-streamed price data, renderer controls, per-point colors, and light/dark themes. It passes the local package descriptor directly, so it does not install or resolve the integration from GitHub.

Metadata

Release files for spaday-lightweight-charts 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spaday-lightweight-charts 0.2.1
File Size Uploaded
spaday_lightweight_charts-0.2.1.tar.gz 216.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spaday-lightweight-charts 0.2.1
File Interpreter ABI Platform
spaday_lightweight_charts-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 399.4 kB

Release files / spaday_lightweight_charts-0.2.1.tar.gz

Download URL spaday_lightweight_charts-0.2.1.tar.gz
Size 216.7 kB
Tags Source
SHA-256 checksum
How to use checksums
68a474e1a95316f6ec0e580ec462cf47c1df3f6ec4df75004f9c3e317da2b26e
BLAKE2b-256 checksum
How to use checksums
8aecec6cd78850b304ba88f77848d8b1dc39e3c2d16ef41ea1a8ce8b4ae3b9d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / spaday_lightweight_charts-0.2.1-py3-none-any.whl

Download URL spaday_lightweight_charts-0.2.1-py3-none-any.whl
Size 182.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f6034d25402f7568e1f08b3850a40fb2683409426eef197232529e576e3fa9b
BLAKE2b-256 checksum
How to use checksums
ec2fe383c7db82fd457c3669a3197502b800971405f28af5d9762fa8a952cb32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

0.3.0

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page