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.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.7.1
File Size Uploaded Provenance Actions
pipelex_tools_py-0.7.1.tar.gz 132.3 kB With provenance Details for pipelex_tools_py-0.7.1.tar.gz

Built distributions (wheels)

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

Total release size: 19.4 MB

Release files / pipelex_tools_py-0.7.1.tar.gz

Download URL pipelex_tools_py-0.7.1.tar.gz
Size 132.3 kB
Tags Source
SHA-256 checksum
How to use checksums
08ae68e8b1554d14b03a4fd1e9dfe13dbfd15d147fdf018a898834385be0a00c
BLAKE2b-256 checksum
How to use checksums
8abd26cd8605a5d8bcc22bacdcab3e5e82f8f9354cea028ce6064f1be1e605e4
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.1-cp38-abi3-win_amd64.whl

Download URL pipelex_tools_py-0.7.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
5f4fa78f8c589862ab907f3c2f7c2854f9cd74b6e9c9a3bf85ed888461ab180a
BLAKE2b-256 checksum
How to use checksums
7b6f9c5fd88a930cfb3586354836d3770997bf5b485a7b43b484593ae7064bcc
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.1-cp38-abi3-win32.whl

Download URL pipelex_tools_py-0.7.1-cp38-abi3-win32.whl
Size 2.6 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
b74af4c4c31fb2b8ba834417dc2e03761205dda3a6f3f29ef94d66cb0464ef41
BLAKE2b-256 checksum
How to use checksums
8d90a756c47dbed8cde1d5775322a9dee4cf66ee6f555516d9edb806c3b7506b
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.1-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pipelex_tools_py-0.7.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
de96d35ea351382d14d27d6bf92e89d7e0fc6058dbf61810f7b9448f7cefa30b
BLAKE2b-256 checksum
How to use checksums
fdfb226b8a8cd2c24367626fc015bda80c6ca936f96c07bc6e0bbdcf9b44ef09
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.1-cp38-abi3-manylinux2014_i686.manylinux_2_17_i686.whl

Download URL pipelex_tools_py-0.7.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
0efa45d640ce2bc68e1ad26312e11bcda9e9acf593eec1b3892b976d560d6860
BLAKE2b-256 checksum
How to use checksums
da7ba65a866cd74507a9d297f457dbc6e5be9780c72674415555cf18f5688cc5
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.1-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL pipelex_tools_py-0.7.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
707732e2a0401eafa0ec6e34910f1ec1f30e2364e6571bda2500840cfdae8c77
BLAKE2b-256 checksum
How to use checksums
ccd93f6242e3051b17f9506861e7f4504a2a7a490af5088bf86fdb0e5d7d63a3
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.1-cp38-abi3-macosx_11_0_arm64.whl

Download URL pipelex_tools_py-0.7.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
7606d0b1bb7c83bd5f1a2856dc6bce84e9c6c7d53e533534147f309ce6791afc
BLAKE2b-256 checksum
How to use checksums
4ba125f971ff407eb52d1f8082e0640a840c903dbc224116f092f3bc321d3087
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.1-cp38-abi3-macosx_10_12_x86_64.whl

Download URL pipelex_tools_py-0.7.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
c6ba1bad100142fe6a80eb85713cc791e39349e65c97bc69f438d7073f4e5d41
BLAKE2b-256 checksum
How to use checksums
fc2dfd0cf42cd2f7f9b4293f1e07fe08bc1361e96e26de2f3773eb4a191c75d7
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.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.7.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 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