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.3.0

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.3.0
File Size Uploaded
spaday_lightweight_charts-0.3.0.tar.gz 217.7 kB Details

Built distribution (wheel)

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

Total release size: 401.5 kB

Release files / spaday_lightweight_charts-0.3.0.tar.gz

Download URL spaday_lightweight_charts-0.3.0.tar.gz
Size 217.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7040af4c431d77f934198bab64410dae5be73dc4320e6cb3ddc72a2506c15212
BLAKE2b-256 checksum
How to use checksums
ac2178152fab359750ceb5d42fba7a8dc2da13429aaca89975006557331a216c
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.3.0-py3-none-any.whl

Download URL spaday_lightweight_charts-0.3.0-py3-none-any.whl
Size 183.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db7019850425ba171df59baa2a3877a71e2cfd69a47e9cdea48e56184b3b4e50
BLAKE2b-256 checksum
How to use checksums
2afe06d8343c646c79e836d199a258dd5b3de9074fb0dfe83c9771f164bbb28a
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

This release

0.3.0 This release

2 release files

0.2.1

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