A simple gcode sender
Features:
- fast (buffered)
- simple to use
- easy to tune to your device (one simple & clean Python file)
- works well on a raspberry pi (tested with "old" Python versions)
Usage: sgs <gcode_filename> <serial_device>
Note: if you see any output, it means there are errors occurring, try tweaking those two values:
BUFFER_SIZE = 10 # you can try to reduce this
BUFFER_FULL_PAUSE_DURATION = 0.01 # you can try to increase that
On the other hand, if you have a really fast hardware, you can do the opposite until you get some errors (prioritize BUFFER_FULL_PAUSE_DURATION over BUFFER_SIZE: buffered data may get replayed on error which may lead to undesired behavior (duplicate gcodes).
Metadata
Release files for simple-gcode-sender 1.0.0
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 |
|---|---|---|---|---|
| simple_gcode_sender-1.0.0.tar.gz | 2.5 kB | Without provenance | Details for simple_gcode_sender-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simple_gcode_sender-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for simple_gcode_sender-1.0.0-py3-none-any.whl |
Total release size: 5.8 kB
Release files / simple_gcode_sender-1.0.0.tar.gz
| Download URL | simple_gcode_sender-1.0.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39cc0c08a634560341c41486cee414bfbe2acb9ad2703ce3ce3b160e95ceab8e
|
|
BLAKE2b-256 checksum How to use checksums |
b3602f10a40f08954d59c15b4d9f0bf9587aa70521be2bdfb070704cc37abed8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Linux/6.4.10-zen2-1-zen
|
Release files / simple_gcode_sender-1.0.0-py3-none-any.whl
| Download URL | simple_gcode_sender-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cea765d1f4aba40d87b449c31a23d03d942a87768ba6c0cde6fab8f4168d8d79
|
|
BLAKE2b-256 checksum How to use checksums |
da9f132cc1d4f6f1171e2b51abb379cc0d43f9b103c09b4355a9a973a0b68b8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Linux/6.4.10-zen2-1-zen
|
Security for simple-gcode-sender 1.0.0
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.