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

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.3
File Size Uploaded Provenance Actions
pyazrico_charts-0.1.3.tar.gz 21.1 kB Without provenance Details for pyazrico_charts-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 45.0 kB

Release files / pyazrico_charts-0.1.3.tar.gz

Download URL pyazrico_charts-0.1.3.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
16dd42d3f6c459fcc6aa29f996e48025d0e8e0a4c62c102db31e5e195deef560
BLAKE2b-256 checksum
How to use checksums
0bbb49585196bb8ad3937e5d7eff7728a0ea6f681138995c99ec665f9ec54596
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.3-py3-none-any.whl

Download URL pyazrico_charts-0.1.3-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb7cedc0ab1e1753ff54baf37d64b633fa97599a99901e0a174c5d11742d8282
BLAKE2b-256 checksum
How to use checksums
bda726eed0758f06170755f37081d6f7f0e3ddeda74d342625fa45c1d8455488
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.3

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