Skip to main content

Official Python client for TofuPilot with OpenHTF integration, real-time streaming and file attachment support

Project description

TofuPilot Python Client

PyPI version License: MIT

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tofupilot-2.0.6.tar.gz (104.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tofupilot-2.0.6-py3-none-any.whl (175.8 kB view details)

Uploaded Python 3

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

Hashes for tofupilot-2.0.6.tar.gz
Algorithm Hash digest
SHA256 edf6b38e5b795342c25c22bf6f07775f69bed53c8bd37d90b214211d524e73eb
MD5 1e27c85e9157e76836b7c3f33e102f11
BLAKE2b-256 19b5141edd39a5be869ee8c836ca3bf3fef36471b86f103175a66bbd61dbc2c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tofupilot-2.0.6.tar.gz:

Publisher: release-python-client.yml on tofupilot/tofupilot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for tofupilot-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4fbb5f09511383c474b14120275479104eb5531aa6ea58dfa341abaff2d27801
MD5 2786f626bdfba699640cd66820ec5b0c
BLAKE2b-256 014fcd788bab2265cd48f5f86b75ca94c496fa7b7cac76c28d3a19177ee96c5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for tofupilot-2.0.6-py3-none-any.whl:

Publisher: release-python-client.yml on tofupilot/tofupilot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page