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.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.7.0
File Size Uploaded Provenance Actions
pipelex_tools_py-0.7.0.tar.gz 131.6 kB With provenance Details for pipelex_tools_py-0.7.0.tar.gz

Built distributions (wheels)

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

Total release size: 19.4 MB

Release files / pipelex_tools_py-0.7.0.tar.gz

Download URL pipelex_tools_py-0.7.0.tar.gz
Size 131.6 kB
Tags Source
SHA-256 checksum
How to use checksums
88ca50b17f02939a2890b80d0b5b091ef390d5fe138d4eeb6bb4cf840c9243bd
BLAKE2b-256 checksum
How to use checksums
0558cb71cbfcefa09ed0c3ea62c7762636a128aa438cc327feda78de140da7fa
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 25, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.0-cp38-abi3-win_amd64.whl
Size 2.9 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4f74a07b84f75852a69ef79845406ee094c40974287c69bfce00325b916ab612
BLAKE2b-256 checksum
How to use checksums
85b1e8fe626a0544c904b830488d76343620fe21f56bcb4a08eff0d645ee422c
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 25, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.0-cp38-abi3-win32.whl
Size 2.6 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
82c6a29ae8e8f0c704d1fe718ae389c0a01b780a71a64e4bb5e1bec68f2f7f00
BLAKE2b-256 checksum
How to use checksums
8ae83d277b2849db3513038cac31d9512f705be9982e38895baeffac3dd4d32c
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 25, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_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
08de16729ac5b3305cd10cd339bef1806c137ca322a700a3cee2955a319411e5
BLAKE2b-256 checksum
How to use checksums
7e775bc2716cd28f5da84b9a397827ed3083460b2f1ee747b6fd13394b13538e
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 25, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.0-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Size 3.0 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-32 abi3
SHA-256 checksum
How to use checksums
d3f5d88207fa0a94f14c113e1c4620b0589a92e0f769f12216c3ab7b59b89394
BLAKE2b-256 checksum
How to use checksums
0333e0adcaf4df024c968d26da8a596d989310c48cd7e0eeddbdf985b0794513
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 25, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.7 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8296b2034d4518768f050f43284b1ac4e4547ba0ab92511f74aee4d262a7a85a
BLAKE2b-256 checksum
How to use checksums
2c2cb4c17bba920a38ceeab1d8ec3f73d1353692a2d81910b35fa38dc27d3d02
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 25, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.0-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
7b930d50bfd0975f2e9b98e3a365b107bece0a8c768daa660e9f40d3d5e05d37
BLAKE2b-256 checksum
How to use checksums
a7e46dc79242a3d8b4f7d8c115695d22eaec0e12b83c07397a8a1a9df67681f0
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 25, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.7.0-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
a059fe069edc0f224fa493b03742b7f03ace3c4fdd26cb66ab51f9ee985b776e
BLAKE2b-256 checksum
How to use checksums
cbe1f07a86e4c31a709ab9431fb5ed3ef75aa6150db36cbf88ace05e82e2ce8c
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 25, 2026.

Transparency log

Security for pipelex-tools-py 0.7.0

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.0.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 Oct 25, 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