reflex-echarts
A Reflex wrapper for echarts-for-react library.
Installation
pip install reflex-echarts
Usage
See echarts_demo/echarts_demo.py for a working example.
Props are based on the echarts-for-react library, so please refer to the
documentation there for further explanation.
Themes
Themes can be set by passing a theme prop to the ECharts component.
To load custom themes, provide the JS code that ultimately calls echarts.registerTheme as
a string to the register_theme_code prop (this cannot be a State Var).
Limitations
- Event handling is not yet implemented.
- Inline functions for formatters and data key extraction is not implemented.
Due to how the chart
optionis serialized as JSON, there is not a clean way to pass inline functions from the Python backend to the Javascript frontend. - All chart types are available, which increases the bundle size of the application. There is not currently a mechanism to only include the chart types which are used.
- Cannot figure out how to load external themes from a JS file...
Metadata
Release files for reflex-echarts 0.1.0
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 |
|---|---|---|---|---|
| reflex_echarts-0.1.0.tar.gz | 31.2 kB | Without provenance | Details for reflex_echarts-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reflex_echarts-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for reflex_echarts-0.1.0-py3-none-any.whl |
Total release size: 34.4 kB
Release files / reflex_echarts-0.1.0.tar.gz
| Download URL | reflex_echarts-0.1.0.tar.gz |
|---|---|
| Size | 31.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
504b9a536256ade9587448afbb0fc6b2317c55f83ec9724cb11677bc52e4fd9d
|
|
BLAKE2b-256 checksum How to use checksums |
307e2d74b3f028e59199e1bbb938aa31cdcb73aebeac6964c33bee09cd8290e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / reflex_echarts-0.1.0-py3-none-any.whl
| Download URL | reflex_echarts-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2130d1b4f5ec9e2d8969b6c20cc462f439f6cd40e6061cae518a68f282f78bbd
|
|
BLAKE2b-256 checksum How to use checksums |
52b6ba8130dea4e5ce168c846cc11605681adb81f0f7eb1c0101824d4b07bdb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for reflex-echarts 0.1.0
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.