Official Python client for TofuPilot with OpenHTF integration, real-time streaming and file attachment support
Project description
TofuPilot Python Client
The official open-source Python client for TofuPilot. Integrate your hardware test runs into one app with just a few lines of Python.
Installation
pip install tofupilot
Quick Start
import os
from tofupilot.v2 import TofuPilot
with TofuPilot(api_key=os.getenv("TOFUPILOT_API_KEY")) as client:
client.runs.create(
procedure_id="FVT1",
serial_number="SN001",
part_number="PN001",
outcome="PASS",
)
Documentation
Authentication
Set your API key as an environment variable:
export TOFUPILOT_API_KEY="your-api-key"
Or pass it directly when initializing the client.
Contributing
Please read CONTRIBUTING for details on our code of conduct and the process for submitting pull requests.
License
MIT - see LICENSE for details.
Project details
Release history Release notifications | RSS feed
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 tofupilot-2.0.6.tar.gz.
File metadata
- Download URL: tofupilot-2.0.6.tar.gz
- Upload date:
- Size: 104.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edf6b38e5b795342c25c22bf6f07775f69bed53c8bd37d90b214211d524e73eb
|
|
| MD5 |
1e27c85e9157e76836b7c3f33e102f11
|
|
| BLAKE2b-256 |
19b5141edd39a5be869ee8c836ca3bf3fef36471b86f103175a66bbd61dbc2c9
|
Provenance
The following attestation bundles were made for tofupilot-2.0.6.tar.gz:
Publisher:
release-python-client.yml on tofupilot/tofupilot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tofupilot-2.0.6.tar.gz -
Subject digest:
edf6b38e5b795342c25c22bf6f07775f69bed53c8bd37d90b214211d524e73eb - Sigstore transparency entry: 1134413360
- Sigstore integration time:
-
Permalink:
tofupilot/tofupilot@46b8c03475f664079fc59f81cdc069be3032f5a2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tofupilot
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python-client.yml@46b8c03475f664079fc59f81cdc069be3032f5a2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file tofupilot-2.0.6-py3-none-any.whl.
File metadata
- Download URL: tofupilot-2.0.6-py3-none-any.whl
- Upload date:
- Size: 175.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fbb5f09511383c474b14120275479104eb5531aa6ea58dfa341abaff2d27801
|
|
| MD5 |
2786f626bdfba699640cd66820ec5b0c
|
|
| BLAKE2b-256 |
014fcd788bab2265cd48f5f86b75ca94c496fa7b7cac76c28d3a19177ee96c5a
|
Provenance
The following attestation bundles were made for tofupilot-2.0.6-py3-none-any.whl:
Publisher:
release-python-client.yml on tofupilot/tofupilot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tofupilot-2.0.6-py3-none-any.whl -
Subject digest:
4fbb5f09511383c474b14120275479104eb5531aa6ea58dfa341abaff2d27801 - Sigstore transparency entry: 1134413442
- Sigstore integration time:
-
Permalink:
tofupilot/tofupilot@46b8c03475f664079fc59f81cdc069be3032f5a2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/tofupilot
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python-client.yml@46b8c03475f664079fc59f81cdc069be3032f5a2 -
Trigger Event:
push
-
Statement type: