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.1

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.1
File Size Uploaded Provenance Actions
pyazrico_charts-0.1.1.tar.gz 18.8 kB Without provenance Details for pyazrico_charts-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 40.5 kB

Release files / pyazrico_charts-0.1.1.tar.gz

Download URL pyazrico_charts-0.1.1.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e0601ab409171522c13b5261f3a6c916c85af0c56ec23d36da1dba5bf095fcdb
BLAKE2b-256 checksum
How to use checksums
e4f7fcb4bc605cbbf8f909d74c18020e38c42937cd9fd823b499057d65f46cce
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.1-py3-none-any.whl

Download URL pyazrico_charts-0.1.1-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bfc33020555b32c13dd0304c22ed1a9e5f2a8ec02547987bed5936f077d355a
BLAKE2b-256 checksum
How to use checksums
ed30472081e91b7040843bd12580cdc64f0df41a8bc69d059e096b5050fdabf4
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.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.

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