Skip to main content

method-ai

MIT-licensed Python binding to the same installed Node Method runtime. Requires Python 3.9+ and the JavaScript SDK 0.20.1.

npm install -g https://github.com/method-ai-hq/method-sdk/releases/download/v0.20.1/method-ai-hq-sdk-0.20.1.tgz
pip install https://github.com/method-ai-hq/method-sdk/releases/download/v0.20.1/method_ai-0.20.1-py3-none-any.whl
withmethod authoring
from pathlib import Path
from withmethod import load_method, run_method
method = load_method(Path("task.method"))
result = run_method("task.method", {"allow_local_processes": True}, inputs={}, directory="runs/first")
print(result["status"])

Use method/3.4 for new Methods. To run a published Method from an app, use Method().run("wf_…", inputs); see https://docs.withmethod.ai/guides/production. Python calls the executor through the method-bridge command. Source and releases: https://github.com/method-ai-hq/method-sdk

Metadata

Release files for method-ai 0.20.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for method-ai 0.20.1
File Interpreter ABI Platform
method_ai-0.20.1-py3-none-any.whl Python 3 none any Details

Release files / method_ai-0.20.1-py3-none-any.whl

Download URL method_ai-0.20.1-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82d0916c2750ceb8b4c470fb4f9432658193df0cd7aeadd1fae13a07eec9c407
BLAKE2b-256 checksum
How to use checksums
5f5d0d717a353bad6c272d2167b3bac2123c3388f72ea9d0f90f55168bc4c364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 20, 2026.

Transparency log

Security for method-ai 0.20.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 1 file in this release has been uploaded with provenance metadata.

Attestation for method_ai-0.20.1-py3-none-any.whl

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 20, 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.

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