spplot
This utility is a text mode implementation of what can be done in Arduino IDE
when choosing Serial Plotter option, i.e. it plots the numbers received on
the serial port in real time.
spemu
There's also a helper utility included, called spemu which is a serial port
emulator. It's useful for testing when no real device is nearby.
Usage
Run spemu. The program will print file descriptor and PTY device path.
You can write directly to the spemu stdin or open file descriptor with some
script and write to it. The things you write will be outputted by the virtual
COM port.
Installation
spplot
Install from PyPI:
python3 -m pip install spplot
Install locally:
python3 -m pip install . --upgrade
spemu
To compile it, just run make.
Requirements
spplot
- Python 3 with f-strings
- POSIX-compliant, color-supporting terminal
- Font with Braille characters
- Modules from
requirements.txt
spemu
- C compiler
- UNIX-like system
Disclaimer: Work in Progress
This is a dirty draft of what I want it to be. I'll try to optimize it in my free time and add some colors to differentiate the plots. As for now, it is what it is.
The initial menu is made in TUI style but if you provide port and baudrate as CLI args, you won't see it.
Roadmap
- colored lines for different subplots
- total average / current buffer average and other stats
- better error handling
- buffer, display and calculation optimizations
- proper handling of negative values
- set y axis range option
- plot on n-th readout option
- command line args
- dynamic resizing
- human menu keymapping
- make a python package
- make a PyPI release
Metadata
Release files for spplot 0.0.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 |
|---|---|---|---|---|
| spplot-0.0.2.tar.gz | 5.9 kB | Without provenance | Details for spplot-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spplot-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for spplot-0.0.2-py3-none-any.whl |
Total release size: 11.9 kB
Release files / spplot-0.0.2.tar.gz
| Download URL | spplot-0.0.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb46fb109631cb95884a54f2db65fca32b4065e920c8be3167d6d7a968b54bdb
|
|
BLAKE2b-256 checksum How to use checksums |
dd0473d7ac62e5b1c41f9ba744ec143cc3c782dd8d6647cd65526017a5e2e6d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / spplot-0.0.2-py3-none-any.whl
| Download URL | spplot-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39e7fa8cc19a2545b971eb464ad5690fa95f81b0f8e3004938deb26a42b09d83
|
|
BLAKE2b-256 checksum How to use checksums |
300362b24e1689d816261023d79bc76c8d786ab65b8135d9293001613e971d2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for spplot 0.0.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.