pyglplot
A powerful Python plotting library that leverages OpenGL to provide exceptional performance and high-quality visualizations of 2D data. Based on the JavaScript library webgl-plot this library is specifically designed for real-time plotting of line, scatter, and histogram plots. This library is cross-platform and works on Windows, Linux and Mac thanks to GLFW windowing library. Furthermore, It is also compatible with Jupyter notebooks. This package is ideal for plotting realtime data from sensors and instruments, including streaming devices such as microphones and cameras, empowering users to analyze data as it is being generated.
Installation
python -m pip install pyglplot
Getting started
import numpy as np
from pyglplot import line
# Create a Line object
lineSize = 1000
plotLine = line.Line(lineSize)
x = np.linspace(-1, 1, lineSize)
y = np.sin(x)
# Add data to the line
plotLine.updateLine(x, y)
plotLine.run()
Animating a plot
lineSize = 1000
plotLine = line.Line(lineSize)
x = np.linspace(-1, 1, lineSize)
y = 0
def update():
global y
y = 0.5*np.sin(10*x) + np.random.rand(lineSize) * 0.1
plotLine.updateLine(x, y)
plotLine.run(update)
License
MIT
Metadata
Release files for pyglplot 0.1.3
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 | |
|---|---|---|---|---|
| pyglplot-0.1.3.tar.gz | 8.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyglplot-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.3 kB
Release files / pyglplot-0.1.3.tar.gz
| Download URL | pyglplot-0.1.3.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a82a54c61e87f5c4dd0b41d9b43a2c8bb29ecd52928ac454c9d765e5da93086
|
|
BLAKE2b-256 checksum How to use checksums |
9621be4d15731249090a9d5da2d4e1bd1d3220eb156157329a46bdb9902ac4cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / pyglplot-0.1.3-py3-none-any.whl
| Download URL | pyglplot-0.1.3-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfeb1db02bdde99ff009776e643514d26716d53291d81cc71a4e600590930fe5
|
|
BLAKE2b-256 checksum How to use checksums |
9b27c65fd407b29a9202649625c7c2d996e50f530e6d127fa7b6a705e8a7ce48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for pyglplot 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.