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.6.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.6.0
File Size Uploaded
pipelex_tools_py-0.6.0.tar.gz 129.4 kB Details

Built distributions (wheels)

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

Download URL pipelex_tools_py-0.6.0.tar.gz
Size 129.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ca17c8428605c9860931c2fdf7be66dc198a1870818242c22feddc16d5d38c69
BLAKE2b-256 checksum
How to use checksums
40d9dc79d6d8eea1c6daf81c05c1a3a60fc9f3711c59d5b9e3e62b57f038984f
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 16, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.6.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
8535ec99c37c4eef252f7f909ad0bcbe7b3137fa6de70e93d227e31370b68350
BLAKE2b-256 checksum
How to use checksums
88198d356e1fee6dd01e1a527e7b8baa5929a02b1840824b523a8d67628946dd
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 16, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.6.0-cp38-abi3-win32.whl
Size 2.4 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
8947b0ceed58f169da550c52d371017e4e8d772c17e3d3051f6f7066d4625bd2
BLAKE2b-256 checksum
How to use checksums
35c3dd9b382aa0c57d655b4b1b5e6c410ba173ace5ecf756f3232a584bf342b5
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 16, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.6.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
688863468bedd02d1974a5381d9b7b412e4364cdeb216c4b0b80a00342aa90da
BLAKE2b-256 checksum
How to use checksums
e08b46ec584e77ef2a144dd24ea7727965ed340dc6ce5e829545072164744cab
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 16, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.6.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
c5dac0e0e55de81222d20206f175feeb8c52596c3a5ef8289c19452535f600e2
BLAKE2b-256 checksum
How to use checksums
27dd7d0e2a225a56e16198c1846a6ef7c9ba9d2871b6775322bcd393ff0009d7
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 16, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.6.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
4f05b08663a64cd8ac4d52f4c6f876a6ce0069cd708229ec4b14ba7cd89d04ee
BLAKE2b-256 checksum
How to use checksums
8c99b3bde52c832e9b690bd2ec254d809f79e1f4f28460b833b304ce76ab036b
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 16, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.6.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
faab67894e93f10a37fa6bf3f0d7851ca95512b79479bb93c87bc957b703dd6a
BLAKE2b-256 checksum
How to use checksums
bd08ffdfcfc4e7e1f674dec44534e48e96b3dfc832e05334522061ad0e1c762b
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 16, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.6.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
51c4581436ba49b9edd02a993321c3568afc9934253a7400fb1366fb070fd732
BLAKE2b-256 checksum
How to use checksums
2fa56d911dce957c22486cd73e749afa4af0c1646af2a86d5c39370842c5ea72
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

8 release files

0.5.0

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