py-shiny-echarts: ECharts for Shiny for Python
Shiny for Python bindings for ECharts JS
Note
This package is still in an early state.
Installation
# Stable
pip install shinyecharts
# Dev
pip install git+https://github.com/eodaGmbH/py-shiny-echarts
Basic usage
from pandas import DataFrame
# Must always be imported, otherwise App is not found
from shiny.express import ui
from shinyecharts import Chart, InitOptions
from shinyecharts.options import Line
from shinyecharts.renderer import ChartRenderer
init_options = InitOptions(width=600, height=400, renderer="canvas")
data = DataFrame(
[[0, 1, 2, 3], [1, 4, 5, 6], [2, -2, 4, 9]],
columns=["a", "b", "c", "d"],
)
lines = (
Line(x="a", y="b", tooltip=dict(trigger="axis"), legend=dict())
.add_series("c")
.add_series("d")
)
@ChartRenderer
def render_dataset():
return Chart(init_options, data=data).set_option(lines)
shiny run docs/examples/getting_started/basic_usage.py --reload
Metadata
Release files for shinyecharts 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| shinyecharts-0.1.1.tar.gz | 346.2 kB | Without provenance | Details for shinyecharts-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shinyecharts-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for shinyecharts-0.1.1-py3-none-any.whl |
Total release size: 694.9 kB
Release files / shinyecharts-0.1.1.tar.gz
| Download URL | shinyecharts-0.1.1.tar.gz |
|---|---|
| Size | 346.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
861ad93ba4960125c5870d2669bb7d6a93dcce3c74fe33cf9581850d816f43d3
|
|
BLAKE2b-256 checksum How to use checksums |
126b758449c3065569b95190f3b7337bc5e17350bfc64aef5e421b33478a3e92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/5.15.0-91-generic
|
Release files / shinyecharts-0.1.1-py3-none-any.whl
| Download URL | shinyecharts-0.1.1-py3-none-any.whl |
|---|---|
| Size | 348.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
399b844dab221bbd42403cfae12219842944d7bb3cd0e6124a7d7c8d01e03f6e
|
|
BLAKE2b-256 checksum How to use checksums |
9ab59349d26419d6a04dcb20145208f7f7a7390dcacff4b2c1d23b063cc6247e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/5.15.0-91-generic
|
Security for shinyecharts 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.