LabNode
This is the Python3 asyncio API library for the Labnode system.
The library is fully type-hinted.
Documentation
The full documentation can be found on GitHub Pages: https://patrickbaus.github.io/labnode_async/. I use the Numpydoc style for documentation and Sphinx for compiling it.
Setup
To install the library in a virtual environment (always use venvs with every project):
python3 -m venv env # virtual environment, optional
source env/bin/activate
pip install labnode-async
Usage
This library makes use of asynchronous context managers to hide all connection related stuff and also handle cleanup. By the way: Context managers are great!
Connect to the remote endpoint, and it will automatically enumerate the Labnode and create the correct device.
from labnode_async import IPConnection
# Create a device and start coding
async with IPConnection("192.1680.0.2") as device:
# Add your code here
...
See examples/ for more working examples.
Versioning
I use SemVer for versioning. For the versions available, see the tags of this repository.
Authors
- Patrick Baus - Initial work - PatrickBaus
License
This project is licensed under the GPL v3 license - see the LICENSE file for details.
Metadata
Release files for labnode-async 0.16.4
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 |
|---|---|---|---|---|
| labnode_async-0.16.4.tar.gz | 30.8 kB | Without provenance | Details for labnode_async-0.16.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labnode_async-0.16.4-py3-none-any.whl | Python 3 | none | any | Details for labnode_async-0.16.4-py3-none-any.whl |
Total release size: 66.1 kB
Release files / labnode_async-0.16.4.tar.gz
| Download URL | labnode_async-0.16.4.tar.gz |
|---|---|
| Size | 30.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3e6b83f3b9a470ab1c13ca1891bd974449a44d2b6d7eb299207492aac0640d4
|
|
BLAKE2b-256 checksum How to use checksums |
963f084f7d48143f1c15e42a48880cebca976befb063360339ba476f20f37074
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / labnode_async-0.16.4-py3-none-any.whl
| Download URL | labnode_async-0.16.4-py3-none-any.whl |
|---|---|
| Size | 35.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
286f9f99e4797c95a7bf2926ddf1a05c4ff2e0d86bdf214d5722d826c11d3ecd
|
|
BLAKE2b-256 checksum How to use checksums |
367982d5458d44eac49d551a11ea39602a49e44e0f713bc891ddd21d46588faf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for labnode-async 0.16.4
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.