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.3.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.3.0
File Size Uploaded
pipelex_tools_py-0.3.0.tar.gz 123.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pipelex-tools-py 0.3.0
File
pipelex_tools_py-0.3.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
pipelex_tools_py-0.3.0-cp38-abi3-win32.whl CPython 3.8 abi3 Windows x86-32 Details
pipelex_tools_py-0.3.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.3.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details
pipelex_tools_py-0.3.0-cp38-abi3-manylinux_2_12_i686.manylinux2010_i686.whl CPython 3.8 abi3 Linux glibc 2.12+ x86-32 Details
pipelex_tools_py-0.3.0-cp38-abi3-macosx_11_0_arm64.whl CPython 3.8 abi3 macOS 11.0+ ARM64 Details
pipelex_tools_py-0.3.0-cp38-abi3-macosx_10_12_x86_64.whl CPython 3.8 abi3 macOS 10.12+ x86-64 Details

Total release size: 17.9 MB

Release files / pipelex_tools_py-0.3.0.tar.gz

Download URL pipelex_tools_py-0.3.0.tar.gz
Size 123.9 kB
Tags Source
SHA-256 checksum
How to use checksums
31459784662cf49c4d29330bfdb3a738fdf1d7d56cad5820a52ed559999baada
BLAKE2b-256 checksum
How to use checksums
217faebe0c135c6ccd2e91c04e3a9f5c6a286e716563a99a07dbe3bc7455d5ae
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 Sep 23, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.3.0-cp38-abi3-win_amd64.whl
Size 2.6 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
40d339d52e5c157e1a326e123b8b3fceaa3ea20bfc19e994187ddddf5f9b568f
BLAKE2b-256 checksum
How to use checksums
8548c2e9196d82d42125a02caf5e6e6b3726323df7693828009a72ec069ca4e6
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 Sep 23, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.3.0-cp38-abi3-win32.whl
Size 2.4 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
a2959eb9d6a402b129b4bb266bd05952af0b8b35c9b8cbd3ed26867d2bd79695
BLAKE2b-256 checksum
How to use checksums
a9504e02fef93ebcd6482ff26c0a85d4706c123ab993d3938c66c72292d803d0
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 Sep 23, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.3.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
ace23ab7acdacf8c0c49cddd2749217b39c7ec3c8036b5236d18114eeda48707
BLAKE2b-256 checksum
How to use checksums
db1e1fcd93fe7dccad5b7d76b32bbf99be248f4a2c8fd2913c34df59f4f5788e
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 Sep 23, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.3.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
4a52f7442e1f15dfcdbf4d31b251d4453ad49fcbec124e24ef8859dcaa4954e8
BLAKE2b-256 checksum
How to use checksums
1f3ef391dca40b700e62509b801f2766b6ccb3f91ed98c128643c7375aee3efd
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 Sep 23, 2026.

Transparency log

Release files / pipelex_tools_py-0.3.0-cp38-abi3-manylinux_2_12_i686.manylinux2010_i686.whl

Download URL pipelex_tools_py-0.3.0-cp38-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Size 2.7 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-32 abi3
SHA-256 checksum
How to use checksums
c86bea4987903d34e76a34c79d8211e9a53bb2ea784ac8b7589a431a2dc1f548
BLAKE2b-256 checksum
How to use checksums
7af38718458094c0038f32f07a846e239c4e264e3ea3d11c9bb085bc52d3756f
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 Sep 23, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.3.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
561991c224f3f0c26cb47c0d3d28261f857e08e7d2989f7b9e88467fcc62146b
BLAKE2b-256 checksum
How to use checksums
edbf7767af94a2b7e2d22b6be4c6f3a55352187eb63740f698a78a156084b500
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 Sep 23, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.3.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
b1e2344fd137fe4ea7ed7c1509129a67fe5d7d545721c4d97608081ee9312a24
BLAKE2b-256 checksum
How to use checksums
39f9e3cbfa671f6957feefcfadcc7b9e88167f7d58cdc4893fa7659ce349ed38
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 Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

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