Skip to main content

Python filesystem operations toolkit with CLI and MCP server for AI integrations

Project description

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 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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pathwright-0.1.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pathwright-0.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file pathwright-0.1.0.tar.gz.

File metadata

  • Download URL: pathwright-0.1.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pathwright-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b6801bd8881ee1cf41bc17e57b5e0c102c59d7c4e347704584c972d8fa406685
MD5 612cff93c555ecf2176f62e33c7d9443
BLAKE2b-256 36c0280bb953507ff3c9fd9375b1ff77c01965e48307e698ae029b639b23fdfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathwright-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on l0kifs/pathwright

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathwright-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pathwright-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pathwright-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a29d2a4b5efcb1598ed91bc23a5a4ce96442d3de3e6e7b915b40d7c85c0bd00b
MD5 c0dbb0e42a45872aba32385ada07cace
BLAKE2b-256 47bd226dea8ea04754b0f976776ff4ffc934f749276578e88fc64b7e09f51b82

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathwright-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on l0kifs/pathwright

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page