E360 Charting (VRS)
Create charts for E360 Plotly Visualisations.
Introduction
- Creates payloads for E360 Visualisation Resource Service (VRS).
- VRS payloads have a Plotly-like structure, but are significantly different.
- Merge multiple charts into a single report.
- Convert visualisation instances to pure Plotly payloads.
Requirements
- Python 3.12+
- Runtime dependencies are declared in
pyproject.toml. Optional Plotly/pandas integration:pip install e360_charting[full](oruv syncwith thefullextra when using uv).
This package does not depend on clients_core; no sibling clients-core checkout is required.
Development
Requires Python 3.12+ and uv. Runtime dependencies resolve from PyPI only (no internal E360 wheels). If a future release adds internal dependencies, pin them in [project.dependencies] with version bounds and [tool.uv.sources] index = "e360-pypi" (see clients-core). On the corporate network you can set:
export UV_INDEX_URL=https://rwes-artifactory01.internal.imsglobal.com/artifactory/api/pypi/e360-pypi/simple
before uv lock / uv sync when locking against Artifactory.
From the repository root:
uv sync --group dev
uv run pytest
uv run ruff check e360_charting tests
uv run ruff format e360_charting tests
Install pre-commit hooks into this git repository
pre-commit install --install-hooks --overwrite
Quick start
from e360_charting import PieVisualisation
from e360_charting import AnnotationModel # Optional
# Create a simple visualisation instance
vis = PieVisualisation(
report_title='My Pie Chart',
labels=['a', 'b', 'c'],
values=[33, 66, 1],
annotations=[AnnotationModel(text='Some Text', x=0.5, y=0.5)] # Optional
)
# Get a payload from the instance as a dictionary
vis.dump() # -> {...}
# Convert to a pure Plotly payload
vis.as_plotly().dump() # -> {...}
Grouping
from e360_charting import GroupedVisualisations
"""Extends previous example"""
# Instance for holding multiple reports
group = GroupedVisualisations()
# Add a visualisation to the group
group += vis # This way multiple instances can be merged
# Use the group to dump to a VRS payload
group.dump() # -> {...}
Charting classes available
e360_charting.BarStackStratifiedVisualisatione360_charting.BarStackVisualisatione360_charting.BarStratifiedVisualisatione360_charting.BarVisualisatione360_charting.DonutVisualisatione360_charting.FallenTreePlotStratifiedVisualisatione360_charting.FallenTreePlotVisualisatione360_charting.MultiChartAxesVisualisatione360_charting.MultiLineStratifiedVisualisatione360_charting.MultiLineVisualisatione360_charting.MultiSteppedLineStratifiedVisualisatione360_charting.MultiSteppedLineVisualisatione360_charting.MultiStraightLineStratifiedVisualisatione360_charting.PieVisualisatione360_charting.RelativeBarStackStratifiedVisualisatione360_charting.RelativeBarStackVisualisatione360_charting.SankeyVisualisatione360_charting.StaticSankeyVisualisatione360_charting.SunburstVisualisatione360_charting.TableStratifiedVisualisatione360_charting.TableVisualisatione360_charting.WaterfallStratifiedVisualisatione360_charting.WaterfallVisualisation
Metadata
Release files for e360-charting 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| e360_charting-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for e360_charting-2.0.0-py3-none-any.whl |
Release files / e360_charting-2.0.0-py3-none-any.whl
| Download URL | e360_charting-2.0.0-py3-none-any.whl |
|---|---|
| Size | 27.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e8019c9866e4f0e4c992fb7cf9abbb27e7bd7703a71ccebca29157343f60bd8
|
|
BLAKE2b-256 checksum How to use checksums |
daf3050a993339e36cb821ee9c33a7fb8c946d20e248b76ecbf5f3d92de71cf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for e360-charting 2.0.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.