Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pywats-api

Python API for WATS, the manufacturing test data management platform: create and submit test reports (UUT/UUR), query reports and analytics, manage products, production units, assets, software distribution, root cause tickets and more. Async first (AsyncWATS) with a synchronous facade (pyWATS).

from pywats import pyWATS

api = pyWATS(base_url="https://your.wats.server", token="...")
print(api.get_version())
headers = api.report.get_recent_headers(days=7, top=100)
import asyncio
from pywats import AsyncWATS

async def main():
    async with AsyncWATS(base_url="https://your.wats.server", token="...") as api:
        products = await api.product.get_products()

asyncio.run(main())

Conventions of the 1.0 API (the same everywhere):

  • Import from the top-level pywats package (from pywats import pyWATS, UUTReport, ValidationError) or from pywats.domains.<domain>.

  • Optional parameters are keyword-only; the same concept has the same name (date_from / date_to, top, odata_filter, process_code, quantity).

  • Errors raise (ErrorMode.STRICT is the default); delete_* returns bool; create_* / update_* return the model.

  • Exceptions derive from PyWATSError (WatsApiError for HTTP errors, WatsConnectionError, WatsTimeoutError, ConfigurationError); ValidationError is also a ValueError.

  • Methods whose docstring says "Uses an internal WATS endpoint" and the manual_inspection preview are outside SemVer.

  • Python 3.11 or later

  • Server compatibility: pywats-api 1.0.x is tested against WATS 2026.3

  • Needs the WATS client on a test station? Install the separate package pywats-client.

  • Questions and problems: contact WATS support (https://www.wats.com)

Metadata

Release files for pywats-api 1.0.0rc2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywats-api 1.0.0rc2
File Size Uploaded Provenance Actions
pywats_api-1.0.0rc2.tar.gz 406.6 kB Without provenance Details for pywats_api-1.0.0rc2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pywats-api 1.0.0rc2
File Interpreter ABI Platform Actions
pywats_api-1.0.0rc2-py3-none-any.whl Python 3 none any Details for pywats_api-1.0.0rc2-py3-none-any.whl

Total release size: 826.6 kB

Release files / pywats_api-1.0.0rc2.tar.gz

Download URL pywats_api-1.0.0rc2.tar.gz
Size 406.6 kB
Tags Source
SHA-256 checksum
How to use checksums
de846dfdf011bc7969d962b71af9dca56fe66ef938b84d004909fd063cb4def2
BLAKE2b-256 checksum
How to use checksums
4f9f5c4561f6fba43ca6eed118c1ab79ca13514595ad8936f6c6d6e148644d1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / pywats_api-1.0.0rc2-py3-none-any.whl

Download URL pywats_api-1.0.0rc2-py3-none-any.whl
Size 420.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b12c94828f007d14eaf2f19afac0ef1b71adbdae771ba7966c2349af93b52089
BLAKE2b-256 checksum
How to use checksums
8eccb32c29024052508566a594ee1562918e57fa49dc4967d0639c5c2095de04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Security for pywats-api 1.0.0rc2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page