TradingView Lightweight Charts for spaday.
Documentation
- Build a live chart — guided first chart.
- Update chart data and appearance — task-focused recipes.
- API reference — component props and package descriptor.
- Why a wrapper component? — integration design and tradeoffs.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| spaday_lightweight_charts-0.2.1.tar.gz | 216.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|