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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file labthings_fastapi-0.3.0.tar.gz.
File metadata
- Download URL: labthings_fastapi-0.3.0.tar.gz
- Upload date:
- Size: 136.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4889f2a22a808946625d30f59e3eac1de4993a2c62f6557cee4c451337de157a
|
|
| MD5 |
2ab4bc9445390aa8b33ed2c66e246aa7
|
|
| BLAKE2b-256 |
1687070c3de87e30c554a4f63ee908fe5d3f0e196b6551bea0d43077327e8db4
|
Provenance
The following attestation bundles were made for labthings_fastapi-0.3.0.tar.gz:
Publisher:
publish.yml on labthings/labthings-fastapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
labthings_fastapi-0.3.0.tar.gz -
Subject digest:
4889f2a22a808946625d30f59e3eac1de4993a2c62f6557cee4c451337de157a - Sigstore transparency entry: 2498132717
- Sigstore integration time:
-
Permalink:
labthings/labthings-fastapi@ec1df493903b36d2af6262a5bc4ef7f2511cfde7 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/labthings
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec1df493903b36d2af6262a5bc4ef7f2511cfde7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file labthings_fastapi-0.3.0-py3-none-any.whl.
File metadata
- Download URL: labthings_fastapi-0.3.0-py3-none-any.whl
- Upload date:
- Size: 159.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e919d8ececc3e6b3867d0373853f25ae6a9908a27fb6c966bf1fc63d1ad1d0c7
|
|
| MD5 |
3359271513b4911e874318fffd619f63
|
|
| BLAKE2b-256 |
5e5f9e2210426c6efb2ecc37a7413b2303e31a59b166517033f3c86c49a0784b
|
Provenance
The following attestation bundles were made for labthings_fastapi-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on labthings/labthings-fastapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
labthings_fastapi-0.3.0-py3-none-any.whl -
Subject digest:
e919d8ececc3e6b3867d0373853f25ae6a9908a27fb6c966bf1fc63d1ad1d0c7 - Sigstore transparency entry: 2498132741
- Sigstore integration time:
-
Permalink:
labthings/labthings-fastapi@ec1df493903b36d2af6262a5bc4ef7f2511cfde7 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/labthings
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec1df493903b36d2af6262a5bc4ef7f2511cfde7 -
Trigger Event:
push
-
Statement type: