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.1.0.tar.gz (221.4 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.1.0-py3-none-any.whl (189.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for spaday_lightweight_charts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6a2a329727bce61435991fd6c9d90ed3ba6d41c15fc5cf40703388760fd59051
MD5 5edfa7a6f9ab615f55036ffb18fe876a
BLAKE2b-256 2feb296a9e5dbdc675a3740641fbcef853f669ab58918c170f9ab1123a1affe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spaday_lightweight_charts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b080e95b2a06dc36f052211b0d90310ca6172854228cc3c18693987e049022f8
MD5 50751350f76b7c1c3897d6afa8adf6cd
BLAKE2b-256 637268b4950d9e9be637b690ecc74cdee3802fbaf9a449dd3cfb6607f6497659

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