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.4.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.4.0
File Size Uploaded
pipelex_tools_py-0.4.0.tar.gz 128.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pipelex-tools-py 0.4.0
File
pipelex_tools_py-0.4.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
pipelex_tools_py-0.4.0-cp38-abi3-win32.whl CPython 3.8 abi3 Windows x86-32 Details
pipelex_tools_py-0.4.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.4.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.4.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details
pipelex_tools_py-0.4.0-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details
pipelex_tools_py-0.4.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.4.0.tar.gz

Download URL pipelex_tools_py-0.4.0.tar.gz
Size 128.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dd466a2111d596e520675da710235e2b9f37aaa55be001de7ee09a68db28f19f
BLAKE2b-256 checksum
How to use checksums
fa579f3b31065ded89f8a01ee4da0f74ef3761e13a3ad2398ce0caf13c1ec51e
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 6, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.4.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
21f396ce7bb1d6621d638b1974dc45a0741260fbf72f9674e2491847bb055ee2
BLAKE2b-256 checksum
How to use checksums
e3a2994e2f7f5490840f3ecb8e69a696d9ee989c4845a4f6900f40f114c37f1a
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 6, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.4.0-cp38-abi3-win32.whl
Size 2.4 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
0742e590bc415613c733846556458cf5e3545a0cb13dcaf666db3940c50c371a
BLAKE2b-256 checksum
How to use checksums
c5d51105c14f5fe9f4263be18ba01dec80fc4f29d5302acbc7370f6d7242ff65
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 6, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.4.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
ced2d7a368c16c49f0999f2a6bd316e1e7238a3ddfce11b5338fa1e5d1ed1f0f
BLAKE2b-256 checksum
How to use checksums
b87d93df2c9cfadf65bceb8993a7c3eea75145710c92e44ba50f88f5ef26db14
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 6, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.4.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
a2fffdff23cc53fbe125794cbe3660ae82a20160ba160193f2a39e9332dd4434
BLAKE2b-256 checksum
How to use checksums
0ba08e077622cbb3835c757f05f5d917353c3818fd792d487636bfa4026391cd
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 6, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.4.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
ec5c98259c3300df1555ea1e8b66c92e8105a1e3befcbca7813896e12c8d5ed6
BLAKE2b-256 checksum
How to use checksums
4cf6b820e05cdc31dddf8774444b708f54d68176b08d5fe2941b8333bbb0cd6f
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 6, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.4.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
9ad29e5c491f87b08ec38397b9931ebebbbe5bf7ed44aa5e39374a4749e83f68
BLAKE2b-256 checksum
How to use checksums
dcde9930938a39278a23f336cc3ef4475ddfef31277d02d2c9f5df9f25cdb24b
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 6, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.4.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
240f9711f2e02d6f256eb06e0eff7f762be07e214fdc010753cfcb9f8f2972bf
BLAKE2b-256 checksum
How to use checksums
1255da17ce6d37f16d52022dd776652910960c68080f4d5dd076593bee37a025
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 6, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.0

8 release files

This release

0.4.0 This release

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