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

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.7.2
File Size Uploaded Provenance Actions
pipelex_tools_py-0.7.2.tar.gz 133.0 kB With provenance Details for pipelex_tools_py-0.7.2.tar.gz

Built distributions (wheels)

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

Total release size: 19.5 MB

Release files / pipelex_tools_py-0.7.2.tar.gz

Download URL pipelex_tools_py-0.7.2.tar.gz
Size 133.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c1d7560b0c121dc9037718c057d9daf5500f8ede2cf859e55c4c8fe876128bf8
BLAKE2b-256 checksum
How to use checksums
f196f2aef0c2f7c5c62be8f142e3bf8cb821b3c1e6b4c47c8fdd69107f6cdf6c
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 17, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.2-cp38-abi3-win_amd64.whl
Size 2.9 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5baada0dde944740303a413e06a74cd42a98aaddba10cdb3dc9ef667555e692d
BLAKE2b-256 checksum
How to use checksums
fb69175b6eac3dd40cf961b9aa6ba11d278e4bfd09eb5a0676712cea14c82e58
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 17, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.2-cp38-abi3-win32.whl
Size 2.6 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
ed5e0d5598814f626a59a5ba15574ac969221a6e6b829e35eb864d88dc30b60e
BLAKE2b-256 checksum
How to use checksums
030847dab3f311fb00b8c7c42c232379dc61e99652ab3c1fcb8dd8a29aaf1f5f
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 17, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.2-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
bd42c533058b7bf4f11af62fc28d999b8626b6c09170ca581fa89ee50b1cb716
BLAKE2b-256 checksum
How to use checksums
155e39972c5ba849d87cac6143d5333ac59779763e6e94b5e52a26aed9aea9ab
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 17, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.2-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
b8b391fa8e43fab44eb0767eccc1c6ce0df0d108d76d283470b2fcf2dfca7a95
BLAKE2b-256 checksum
How to use checksums
f3938425415ff969f4cd32a0dd4c1ba410d949a0fd9fc37e8778e1de00d6dabd
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 17, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.2-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
1173aab445562f24ffeba847e416efb25c0f51052ac566a6e4e6e7aeae3047aa
BLAKE2b-256 checksum
How to use checksums
f8cd39dae5740b5f887f2b2c15ebef325861d8aa86a0ff1b071d830f6b2e39a4
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 17, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.2-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
1c1abf59c771617cb21b39e93d228bfa7a2e609abacf9a3359694bb2199ad282
BLAKE2b-256 checksum
How to use checksums
b6eefae3329874da1fe26acc9396f471d43f2d79e6af277e828922f5ec42aec4
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 17, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.2-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
ddbf676c60640b00d252b0e62f5df5aa398c204b7b08acc2980112838c09c0eb
BLAKE2b-256 checksum
How to use checksums
51454e94bda372611f028f1419d71b6b42a93a7c0f6ef37f8e62a7e06e787504
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 17, 2026.

Transparency log

Security for pipelex-tools-py 0.7.2

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.7.2.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 17, 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