ArduRPC Python
Python library to control microcontroller based boards by using the ArduRPC protocol.
You can find more information in the documentation.
Install
Requirements:
Python 2.7 or Python >= 3.2
Requirements (optional):
pyserial >= 2.7
Install:
Install the basic ArduRPC library.
$ pip install ardurpc
Example
The pyserial library is required to run the following example.
import ardurpc
from ardurpc.connector import Serial, UDP
# Connect to the serial port
con = Serial("/dev/ttyACM0", 9600)
# More examples:
# con = Serial("/dev/ttyUSB0", 9600)
# con = UDP(host="192.168.1.1", port=1234)
# New instance
rpc = ardurpc.ArduRPC(connector=con)
print("Version(Protocol): {0}".format(rpc.getProtocolVersion()))
print(
"Version(Library): {0}".format(
".".join([str(i) for i in rpc.getLibraryVersion()])
)
)
print(
"Available handlers: {0}".format(
", ".join(rpc.get_handler_names())
)
)
License
Published under the LGPLv3+ (see LICENSE for more information)
Metadata
Release files for ardurpc 0.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 | Actions |
|---|---|---|---|---|
| ardurpc-0.3.tar.gz | 9.1 kB | Without provenance | Details for ardurpc-0.3.tar.gz |
Release files / ardurpc-0.3.tar.gz
| Download URL | ardurpc-0.3.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80291f0fe6405a0d6823779c7e8de8c78755173bab9fe7a38bf357050fe037d3
|
|
BLAKE2b-256 checksum How to use checksums |
05bb77be4929b463c53ffb135f34b7c48b87b4bf41ab2c92cfad3a3412e42246
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ardurpc 0.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.