labthings-fastapi
A FastAPI based library to implement a Web of Things interface for laboratory hardware using Python. This is a ground-up rewrite of python-labthings, based on FastAPI and Pydantic. It is the underlying framework for v3 of the OpenFlexure Microscope software.
Documentation, including install instructions, is available on readthedocs.
Installation
See readthedocs for installation instructions that are automatically tested. You can install this package with pip install labthings-fastapi.
Installation Notes
labthings-fastapi supports Python 3.10, 3.11, 3.12, and 3.13. The upper limit is strictly capped at 3.13 due to current pydantic-core dependencies.
Note: Windows Installations on devices with ARM processors
Installing on Windows devices with ARM processors requires Visual Studio with the "Desktop development with C++" workload enabled. This is necessary because
pydanticrelies on Rust, which in turn requires C++ build tools to compile.If you are using a centrally managed machine, you will need administrator privileges to install these system-level dependencies.
For instructions on how to set up a development environment, run tests, and contribute to this project, please see our Contributor Guidelines and Testing Guidelines.
Demo
See readthedocs for a runnable demo.
Metadata
Release files for labthings-fastapi 0.3.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 |
|---|---|---|---|---|
| labthings_fastapi-0.3.0.tar.gz | 136.8 kB | With provenance | Details for labthings_fastapi-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labthings_fastapi-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for labthings_fastapi-0.3.0-py3-none-any.whl |
Total release size: 295.8 kB
Release files / labthings_fastapi-0.3.0.tar.gz
| Download URL | labthings_fastapi-0.3.0.tar.gz |
|---|---|
| Size | 136.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4889f2a22a808946625d30f59e3eac1de4993a2c62f6557cee4c451337de157a
|
|
BLAKE2b-256 checksum How to use checksums |
1687070c3de87e30c554a4f63ee908fe5d3f0e196b6551bea0d43077327e8db4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logRelease files / labthings_fastapi-0.3.0-py3-none-any.whl
| Download URL | labthings_fastapi-0.3.0-py3-none-any.whl |
|---|---|
| Size | 159.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e919d8ececc3e6b3867d0373853f25ae6a9908a27fb6c966bf1fc63d1ad1d0c7
|
|
BLAKE2b-256 checksum How to use checksums |
5e5f9e2210426c6efb2ecc37a7413b2303e31a59b166517033f3c86c49a0784b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logSecurity for labthings-fastapi 0.3.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for labthings_fastapi-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 17, 2026.
Transparency logA 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.