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

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.8.1
File Size Uploaded Provenance Actions
pipelex_tools_py-0.8.1.tar.gz 135.4 kB With provenance Details for pipelex_tools_py-0.8.1.tar.gz

Built distributions (wheels)

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

Total release size: 19.5 MB

Release files / pipelex_tools_py-0.8.1.tar.gz

Download URL pipelex_tools_py-0.8.1.tar.gz
Size 135.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e0e4d3d2d8b20a664720c847bef297ac5e9b92fac0073e5c293ae306e357fd7c
BLAKE2b-256 checksum
How to use checksums
ed4a4791f8e2899916448e5157b30c4c908b5e3589a2db06e60c06a78ba7dc72
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 Nov 30, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.1-cp38-abi3-win_amd64.whl
Size 2.9 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c3b49fbd33ed902db45db5bcab2c1dec90ed24c0717118a94f41f05b2a67ba82
BLAKE2b-256 checksum
How to use checksums
a5c500c587dca2f6acedc68e3841791719726528ee0f33f636c1fba0ecb90afa
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 Nov 30, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.1-cp38-abi3-win32.whl
Size 2.6 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
67996a36bf397ed41f04dedee29bfb5b224a01966a71ec155fdd213ede0d7413
BLAKE2b-256 checksum
How to use checksums
2babd2c81f78f6e1b61fc980e6189b87c47a26762838666f84a4716b2484f523
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 Nov 30, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.1-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.8 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
160d226d3bb7e9bf41531fbb22f184d320f7d295463689d1fb824a254cb60013
BLAKE2b-256 checksum
How to use checksums
c64e35a959f6149e9c1d8a6d9df342df0ceefba381d18b15958a68759863b6af
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 Nov 30, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.1-cp38-abi3-manylinux2014_i686.manylinux_2_17_i686.whl
Size 3.0 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-32 abi3
SHA-256 checksum
How to use checksums
11dbc352e1328adbe32db1ce8c22aa3bc625d4ab18618cfa18fb0b6f719f2550
BLAKE2b-256 checksum
How to use checksums
ff571d5ac4273291a1ba55de50c55fe3e5e8136124842148e04a8d438d997f25
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 Nov 30, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.1-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 2.7 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
ef04608d8dba8a3a2ecd7863dfa47833da6e3dffaaa5777bc13d57fcaa135419
BLAKE2b-256 checksum
How to use checksums
5116c48ac7a14bcdb330dc93cb5d648eb696c0bbccf506c50b4e91bce075f93f
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 Nov 30, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.1-cp38-abi3-macosx_11_0_arm64.whl
Size 2.6 MB
Tags CPython 3.8 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
240afecc42acbef8b6c690dcb64995e46996b44274170c8b8a612511a836e2c0
BLAKE2b-256 checksum
How to use checksums
2e143b99205ed7c5b1fb1160f1391d7a80529e6252a9fa35346ba11d3a212c14
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 Nov 30, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.1-cp38-abi3-macosx_10_12_x86_64.whl
Size 2.7 MB
Tags CPython 3.8 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
7a49aa0596bf22f97804cb8f9b16b5874d77b75f058cb972fbbaca4c701d1b0d
BLAKE2b-256 checksum
How to use checksums
c268847c9566acc6105915a2e0b1f1094b0a1c61b0c0b99e169539b402ac386a
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 Nov 30, 2026.

Transparency log

Security for pipelex-tools-py 0.8.1

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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for pipelex_tools_py-0.8.1.tar.gz

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 Nov 30, 2026.

Transparency log

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.

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