gitea: none include_toc: true
LabFlask
This Flask based web server connects to your (HP) lab equipment via linux-gpib, allowing you to remote control it from any modern web browser.
This is a very first version just to get things moving, and it's highly limited.
- To the HP 3478A
- with an harcoded adress
- using the --no-websockets option
- and not stable
Compatibility & OS Support
This software was developed and tested exclusively under Linux.
To access instruments connected to a GPIB card the latest Linux GPIB Package 4.3.7 is needed.
Installation
For the latest version please download the source code or clone the repository. Generate the distribution archives using build. These archives (.whl,.tar.gz or .zip) can be installed by pip.
cd LabFlask # Where the 'pyproject.toml' is located.
python3.12 -m build # Generate the distribution archives.
sudo pip install --force-reinstall dist/labflask-0.0.1-py3-none-any.whl # Install the package.
sudo pip uninstall labflask # Remove the package.
Or install the published package from PyPI.
sudo pip install -i https://pypi.org/simple/ labflask
Setup
This application requires external dependencies and files beyond standard Python packages. The LabFlask-setup script will guide you through most of this configuration process.
sudo /usr/local/bin/LabFlask-setup
Command reference
usage: LabFlasked [-h] [-c CONFIG] [-H HOST] [-p PORT] [-w | --websockets | --no-websockets] [-D] [-v]
options:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
path to config file (default: ['~/.config/LabFlask/settings.ini', '/etc/LabFlask/settings.ini'])
-H HOST, --host HOST network interfaces the server is listen too (default: 127.0.0.1)
-p PORT, --port PORT port the server is listen too (default: 5002)
-w, --websockets, --no-websockets
force use of websockets instead of polling (default: False)
-D, --debug set debug mode for Socket.IO (default: False)
-v, --verbose set verbose mode (default: 0)
Metadata
Release files for LabFlask 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labflask-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for labflask-0.0.1-py3-none-any.whl |
Release files / labflask-0.0.1-py3-none-any.whl
| Download URL | labflask-0.0.1-py3-none-any.whl |
|---|---|
| Size | 30.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4cca9370a13df669af8ccd7c186dd3c0a576fc471a6b1c8572940f9a5e61565
|
|
BLAKE2b-256 checksum How to use checksums |
84c793e70ab1d4fea9a756bbda25c83b77cc85ae32f686e6c1f2fda86d10df3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for LabFlask 0.0.1
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.