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.1.0.tar.gz (103.3 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.1.0-py3-none-any.whl (171.0 kB view details)

Uploaded Python 3

File details

Details for the file tofupilot-2.1.0.tar.gz.

File metadata

  • Download URL: tofupilot-2.1.0.tar.gz
  • Upload date:
  • Size: 103.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tofupilot-2.1.0.tar.gz
Algorithm Hash digest
SHA256 28ab8fe06dcd0e30487de654f7e647b48a818b588e8ff92eb0063557c87851f8
MD5 093de31a8909c468f2df53e3d06c6e98
BLAKE2b-256 e39cf85ddbbd9e96c89b9345e623aec217ddc3fd0bc314f8abe5d35b3ea0d897

See more details on using hashes here.

Provenance

The following attestation bundles were made for tofupilot-2.1.0.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: tofupilot-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 171.0 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1683eae4cf974bf1a0299e2ce3f77851d7b6fae74fa4eaaf75bf5ab746d1a46a
MD5 1addda2a1f79e7c79a8fb1903249c845
BLAKE2b-256 997e1200cd720f59ddc3119f9ecdfbfc1683a68f0f112c0c8962be02f28aef6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for tofupilot-2.1.0-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