Skip to main content

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] (or uv sync with the full extra 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.BarStackStratifiedVisualisation
  • e360_charting.BarStackVisualisation
  • e360_charting.BarStratifiedVisualisation
  • e360_charting.BarVisualisation
  • e360_charting.DonutVisualisation
  • e360_charting.FallenTreePlotStratifiedVisualisation
  • e360_charting.FallenTreePlotVisualisation
  • e360_charting.MultiChartAxesVisualisation
  • e360_charting.MultiLineStratifiedVisualisation
  • e360_charting.MultiLineVisualisation
  • e360_charting.MultiSteppedLineStratifiedVisualisation
  • e360_charting.MultiSteppedLineVisualisation
  • e360_charting.MultiStraightLineStratifiedVisualisation
  • e360_charting.PieVisualisation
  • e360_charting.RelativeBarStackStratifiedVisualisation
  • e360_charting.RelativeBarStackVisualisation
  • e360_charting.SankeyVisualisation
  • e360_charting.StaticSankeyVisualisation
  • e360_charting.SunburstVisualisation
  • e360_charting.TableStratifiedVisualisation
  • e360_charting.TableVisualisation
  • e360_charting.WaterfallStratifiedVisualisation
  • e360_charting.WaterfallVisualisation

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)

Table of built distributions (wheels) for e360-charting 2.0.0
File Interpreter ABI Platform
e360_charting-2.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file

1.11.0

1 release file

1.10.11

1 release file

1.10.10

1 release file

1.10.9

1 release file

1.10.8

1 release file

1.10.7

1 release file

1.10.6

1 release file

1.10.5

1 release file

1.10.4

1 release file

1.10.3

1 release file

1.10.2

1 release file

1.10.1

1 release file

1.10.0

1 release file

1.9.0

1 release file

1.8.2

1 release file

1.8.1

1 release file

1.8.0

1 release file

1.7.0

1 release file

1.6.0

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.0

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.5

1 release file

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page