Skip to main content

pipelex-tools-py

Python bindings for Pipelex Tools. This package installs the importable pipelex_tools module for formatting and linting MTHDS content in-process, without shelling out to the plxt CLI.

What is MTHDS? MTHDS is an open standard for defining AI methods as typed, composable, human-readable TOML files. A .mthds file describes what an AI should do: its inputs, outputs, logic, and data types. Pipelex is the runtime that executes them.

Installation

pip install pipelex-tools-py
uv add pipelex-tools-py

Usage

import pipelex_tools

formatted = pipelex_tools.format_mthds("a=1")
print(formatted["formatted"])
# a = 1

linted = pipelex_tools.lint_mthds("""
domain = "example"

[concept]

[pipe]
""")
print(linted["diagnostics"])

API

format_mthds(content: str, *, options: dict | None = None) -> dict

Returns:

{
    "formatted": str,
    "changed": bool,
    "diagnostics": list[dict],
}

lint_mthds(content: str, *, source: str | None = None) -> dict

Returns:

{
    "diagnostics": list[dict],
}

Diagnostics use this shape:

{
    "kind": "syntax" | "semantic" | "schema",
    "severity": "error",
    "message": str,
    "location": str | None,
    "range": {
        "start_offset": int,
        "end_offset": int,
        "start_line": int,
        "start_col": int,
        "end_line": int,
        "end_col": int,
    } | None,
}

Malformed MTHDS content is returned as diagnostics, not raised as an exception. Malformed formatter option values may raise ValueError.

CLI package

This is the Python library package. To install the plxt command-line tool, use the separate pipelex-tools package:

uv tool install pipelex-tools

TOML support built on Taplo.

"Pipelex" is a trademark of Evotis S.A.S.

Metadata

Release files for pipelex-tools-py 0.5.0

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

Source distribution (sdist)

Source distribution for pipelex-tools-py 0.5.0
File Size Uploaded
pipelex_tools_py-0.5.0.tar.gz 129.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pipelex-tools-py 0.5.0
File
pipelex_tools_py-0.5.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
pipelex_tools_py-0.5.0-cp38-abi3-win32.whl CPython 3.8 abi3 Windows x86-32 Details
pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details
pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-32 Details
pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details
pipelex_tools_py-0.5.0-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details
pipelex_tools_py-0.5.0-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details

Total release size: 18.0 MB

Release files / pipelex_tools_py-0.5.0.tar.gz

Download URL pipelex_tools_py-0.5.0.tar.gz
Size 129.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ebeba322f1ce27680adf7976c374103414710b868107a08051a50f186eb59fa3
BLAKE2b-256 checksum
How to use checksums
3973b51f0cb88c8fd4b204f09357d67c1abdf8282f697c1870133544d86df181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / pipelex_tools_py-0.5.0-cp38-abi3-win_amd64.whl

Download URL pipelex_tools_py-0.5.0-cp38-abi3-win_amd64.whl
Size 2.7 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f45cc2f7c8efb96803a13045f11302e2fa4ecd7319514413d0816d95b3ba60a7
BLAKE2b-256 checksum
How to use checksums
4d3337846c60f9f3d22fe4610dd743268c711138f8bc68ec069cdae4e0ca511e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / pipelex_tools_py-0.5.0-cp38-abi3-win32.whl

Download URL pipelex_tools_py-0.5.0-cp38-abi3-win32.whl
Size 2.4 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
bcdc5cc0af9f56e8e6e643c059ba0d136e3823029afece4a44d8fa7ce3716ab6
BLAKE2b-256 checksum
How to use checksums
3d2562db04ef4fcdef1f5ff16ed8ef11a851a7ae5fd93aa393b9f619e1c81039
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.6 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b5a63bb80d6acd8a2cfaa22d80980ff4cb817a8b3923cf5e2df5f0240b366ef8
BLAKE2b-256 checksum
How to use checksums
b27a54ff76253298f4da458bc2d6282188640170c0c83d7d598f68a7c8aba914
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Size 2.7 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-32 abi3
SHA-256 checksum
How to use checksums
52a18818fb064ee35a535f3d13342a2871d599974213c1cebbea9602b11dc19e
BLAKE2b-256 checksum
How to use checksums
793ebdad6905c5ac5582247ec8991632a4d89ecb6abd5f761b9cb9e98daac710
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL pipelex_tools_py-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.5 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
1f7d765cdceb9d1955a056e6d35fd2b13647c7e529cc1401f851f3a65761a931
BLAKE2b-256 checksum
How to use checksums
e3b36efc62f77b213bf6827bbb6bc82c5b4072a28cc9814560a276603f18b408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / pipelex_tools_py-0.5.0-cp38-abi3-macosx_11_0_arm64.whl

Download URL pipelex_tools_py-0.5.0-cp38-abi3-macosx_11_0_arm64.whl
Size 2.4 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1d3d4bbf5b9a42a75f91e1cf3b2fde0d126769cc77c4c4aadda1bf2c45462466
BLAKE2b-256 checksum
How to use checksums
66d73ca1b29e72511a300956c9c6c57d4d6bb487cf5704a6dfda42d55b6cb174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / pipelex_tools_py-0.5.0-cp38-abi3-macosx_10_12_x86_64.whl

Download URL pipelex_tools_py-0.5.0-cp38-abi3-macosx_10_12_x86_64.whl
Size 2.5 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
6f4bc661e46860a8e5141d508fdcbb55c0e3b4acf71cce0118e1732d1f4ae87f
BLAKE2b-256 checksum
How to use checksums
69be5f41500fdc1afffdd3b43fdde530d7c0d1cf7f0bbe20858a4bbf286334ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

8 release files

0.4.0

8 release files

0.3.0

8 release files

0.2.0

8 release files

0.1.4

8 release files

0.1.3

8 release files

0.1.1

8 release files

0.1.0

8 release files

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