Skip to main content

pyazrico-charts

Live charts for PySide6 apps.

Installation

pip install pyazrico-charts

Usage

Live OpenGL plots

from pyazrico_charts.glplot import GLPlotWindow, GLSeries, HoverFeature, LegendFeature, MagnitudeFeature

plot = GLPlotWindow(columns=4, capacity=1000,
                    series=[GLSeries(n, 0, i, QColor(c)) for i, (n, c) in enumerate([("x", "red"), ("y", "green"), ("z", "blue")], 1)],
                    features=[MagnitudeFeature(), HoverFeature(), LegendFeature()])
layout.addWidget(plot.container())
plot.push([t, x, y, z])   # any thread; drawn on the next plot.update()

The core draws series, grid, ticks and the unit label. Everything else is a GLPlotFeature, added or removed at any time with plot.add_feature(f) / plot.remove_feature(f). A feature overrides only the hooks it needs: compute_columns (with extra_columns) to add computed values to each row, paint to draw on the cached axes layer, over_series_rect to keep part of that layer above the series, mouse_press/mouse_move/mouse_release, hover_move/hover_leave, and has_overlay + paint_overlay to paint over everything each frame. Built in: LegendFeature (click to hide a series, drag to move), MagnitudeFeature (|x, y, z| as one more series) and HoverFeature (thin vertical line at the hovered sample with every visible value).

Colours and font come from GLPlotStyle; subclass GLPlotWindow and override x_label/y_label for other tick text.

Testing

uv sync --extra dev
.venv/Scripts/python -m pytest -q

License

MIT

Metadata

Release files for pyazrico-charts 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyazrico-charts 0.1.0
File Size Uploaded Provenance Actions
pyazrico_charts-0.1.0.tar.gz 18.3 kB Without provenance Details for pyazrico_charts-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyazrico-charts 0.1.0
File Interpreter ABI Platform Actions
pyazrico_charts-0.1.0-py3-none-any.whl Python 3 none any Details for pyazrico_charts-0.1.0-py3-none-any.whl

Total release size: 39.7 kB

Release files / pyazrico_charts-0.1.0.tar.gz

Download URL pyazrico_charts-0.1.0.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d9534f8b3bc8b8e266ca382e1333b7b32d8d50ec84897641bf6c02d3ea646ea8
BLAKE2b-256 checksum
How to use checksums
6d2dd623ec096a198686fe6e7fc234445022cc5b63af04dc2cfb7a3ade9f45f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / pyazrico_charts-0.1.0-py3-none-any.whl

Download URL pyazrico_charts-0.1.0-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51f6a08da444750387b2cef116e24d7d852c9c0ab2b876f997f0de38e4a7523e
BLAKE2b-256 checksum
How to use checksums
c25355a2d1392af973687ab214ad808c109c2893994acc1ffd61f17a752b60fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Security for pyazrico-charts 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.

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