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.2
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 |
|---|---|---|---|---|
| pyazrico_charts-0.1.2.tar.gz | 19.7 kB | Without provenance | Details for pyazrico_charts-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyazrico_charts-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pyazrico_charts-0.1.2-py3-none-any.whl |
Total release size: 42.2 kB
Release files / pyazrico_charts-0.1.2.tar.gz
| Download URL | pyazrico_charts-0.1.2.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b22d657d376d98927ef6fd0b8071d25a3d9855fa8bb2d8c9b2482f29f6895f84
|
|
BLAKE2b-256 checksum How to use checksums |
060c4b55b404f92c4fc891202362ba6e69d51f0eda4367944c3543019356e193
|
| 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.2-py3-none-any.whl
| Download URL | pyazrico_charts-0.1.2-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c64ed68533bb77acf9b9c43ca0f6888c6d313efa3aef1a67eb6fc8215f497628
|
|
BLAKE2b-256 checksum How to use checksums |
b88c0f89475a54e894725e36d311f4cd930b7b0beb2fa670b9c479320d9a8b5b
|
| 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.2
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.