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.8.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.8.0
File Size Uploaded Provenance Actions
pipelex_tools_py-0.8.0.tar.gz 134.6 kB With provenance Details for pipelex_tools_py-0.8.0.tar.gz

Built distributions (wheels)

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

Total release size: 19.5 MB

Release files / pipelex_tools_py-0.8.0.tar.gz

Download URL pipelex_tools_py-0.8.0.tar.gz
Size 134.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7cbba16bfd2233b9c90e84260ac5323eb40256b58baa1fadc43c8e6d44c07dd3
BLAKE2b-256 checksum
How to use checksums
e69f6c68eb69c56df1248cf2fbbd07e5ff59579ea248a08fbe474af116b740dc
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 28, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.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
e3d5974f1c6ad995e31ffd40c700617e7a3a8deb38b97155686d9b119f4b0f3e
BLAKE2b-256 checksum
How to use checksums
27e34760f42010541d1b0ad9bd317ec1c04c61737d859d72979293cf82602ab2
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 28, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.0-cp38-abi3-win32.whl
Size 2.6 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
d0755c0963fe03efb1acef38c441c72f4ff392e5f1108af73b67fa824be071e6
BLAKE2b-256 checksum
How to use checksums
4a90e619f04bcd46f0e03bda2a4c69cf4128d49b4350267f99326eceb6c0b91e
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 28, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.0-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
157899edd30e7125e5e8a47322082c0fe00899e1d315f40aba2f220d85f57aea
BLAKE2b-256 checksum
How to use checksums
dcd61cba5395e71441dc06b1322547e6bebbe9e265cd071dc006f5831686b625
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 28, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.0-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
ef9766543a6e6d4ef79af73bf3e6499a0216d8bbf4be09811c4170eb7fa94f2c
BLAKE2b-256 checksum
How to use checksums
13a18a00c0e316e97800a384cbcfa0efcaaadbdc7dbe15ef6face28524bc6b81
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 28, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.0-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
378d4ced84e6d5f8a7843074afbfc6949706f6a7f8b207363cb9373e15245f7f
BLAKE2b-256 checksum
How to use checksums
68a9ab663cf4aef942046f9248dc983312398c7784ad94bb8d350840629b02fb
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 28, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.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
d9e9e085a6b1a93196f97e6db35cb026ecc44418f6e1eda5d14d5b8a47020ea8
BLAKE2b-256 checksum
How to use checksums
6f0016be2e2630fb4524f76a7ec4a466076c890265dcaa03a983d9f1fa818b68
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 28, 2026.

Transparency log

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

Download URL pipelex_tools_py-0.8.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
823bb4ece61d58765568c1d8c29e87b75319416782f3e2f7d372ca44d8bfbce6
BLAKE2b-256 checksum
How to use checksums
f86a980bb904a24e20ff3ea5a27317f9b47df0601deab43623d1da71f4efc7c6
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 28, 2026.

Transparency log

Security for pipelex-tools-py 0.8.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.8.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 Nov 28, 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