Skip to main content

pathwright banner

Publish workflow PyPI version Python versions MIT license

pathwright

Pathwright is a Python filesystem operations toolkit with two entry points:

  • CLI for terminal workflows
  • MCP server for AI model integrations

Detailed usage reference: docs/REFERENCE.md

Installation

uv sync --all-groups

CLI

Run with:

uv run pathwright --help

Supported command groups:

  • create-files, read-files, update-files, delete-files
  • search-files, transfer-files
  • create-dirs, read-dirs, update-dirs, delete-dirs
  • search-dirs, transfer-dirs
  • fs-outline, files-outline

Examples:

uv run pathwright create-files --item "tmp/a.txt::hello"
uv run pathwright read-files --path "tmp/a.txt"
uv run pathwright update-files --item "tmp/a.txt::patched\n" --interval "tmp/a.txt::2:4"
uv run pathwright search-files --base-path . --extension py --name-pattern "*.py"
uv run pathwright fs-outline --base-path . --depth 2

MCP Server

Run with:

uv run pathwright-mcp

VS Code workspace MCP config example (.vscode/mcp.json):

{
	"servers": {
		"pathwright": {
			"type": "stdio",
			"command": "uvx",
			"args": ["--from", "pathwright", "pathwright-mcp"]
		}
	}
}

For local testing from the current workspace (after uv sync --all-groups):

{
	"servers": {
		"pathwrightLocal": {
			"type": "stdio",
			"command": "uv",
			"args": ["run", "pathwright-mcp"],
			"cwd": "${workspaceFolder}"
		}
	}
}

Exposed tools map to the same filesystem operations as CLI:

  • create_files, read_files, update_files, delete_files
  • search_files, copy_or_move_files
  • create_directories, read_directories, update_directories, delete_directories
  • search_directories, copy_or_move_directories
  • filesystem_outline, files_outline

Testing

Run feature-organized end-to-end suites:

uv run pytest --maxfail=1 --tb=short

Metadata

Release files for pathwright 0.2.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 pathwright 0.2.0
File Size Uploaded
pathwright-0.2.0.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pathwright 0.2.0
File Interpreter ABI Platform
pathwright-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.4 kB

Release files / pathwright-0.2.0.tar.gz

Download URL pathwright-0.2.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
15af5fc591913e41f59c33794fdf01ba255d9f569e73942cbb097f258bdf2365
BLAKE2b-256 checksum
How to use checksums
a048eb23cc129f2059618535cd3f6a872d38a0b7e39bfa2e8f9bae3b14c766ec
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 Feb 23, 2026.

Transparency log

Release files / pathwright-0.2.0-py3-none-any.whl

Download URL pathwright-0.2.0-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b82cebeef6af08d745e356c3e589f4b9aa5f79ff47334919e76ad91819a46900
BLAKE2b-256 checksum
How to use checksums
e3aa88398b3bac7770ffffd8d05605f7ddd01d5a80f095f431ec5725d80290d5
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 Feb 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 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