Skip to main content

spaday-lightweight-charts

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spaday_lightweight_charts-0.2.0.tar.gz (221.8 kB view details)

Uploaded Source

Built Distribution

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

spaday_lightweight_charts-0.2.0-py3-none-any.whl (190.0 kB view details)

Uploaded Python 3

File details

Details for the file spaday_lightweight_charts-0.2.0.tar.gz.

File metadata

File hashes

Hashes for spaday_lightweight_charts-0.2.0.tar.gz
Algorithm Hash digest
SHA256 9c50a6f3dd5dcb995acb6978a3c572b74a48a5dac42c75bc269e7793707dfb5a
MD5 bb0e76003ba21cd3d69c1722c5ece456
BLAKE2b-256 9f860de243af03ab114bd097760441db39d42b9f20c65b35c90e526c28408f1e

See more details on using hashes here.

File details

Details for the file spaday_lightweight_charts-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spaday_lightweight_charts-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23c4a0594fcfbfb572beffa462814421b492683695e4a9d7b9dcf7e6f2d85d07
MD5 47a537eddb83534beb8656984173621d
BLAKE2b-256 80c0f125c59faa0249e0fa298b85aed03930351be0a2b5fa37a940e3d176121b

See more details on using hashes here.

Supported by

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