Skip to main content

Python Formatters, Linters, and Testers Runner.

Project description

pyfltr: Python Formatters, Linters, and Testers Runner

CI PyPI version

Python / Rust / .NET / TypeScript・JavaScript / ドキュメントなど多言語プロジェクトの formatter・linter・testerを単一コマンドで並列実行するCLIツール。 (要Python 3.11以上)

特徴

  • formatter・linter・testerをまとめて呼び出す
  • 複数ツールの並列実行による総実行時間の短縮
  • コーディングエージェント向けJSON Lines出力(--output-format=jsonl
  • 設定の集約: pyproject.tomlに集約した統一設定
  • 除外指定(exclude)の書式差をツール間で吸収
  • 横断検索(grep)と置換(replace、世代管理付き--undo対応)
  • MCPサーバー(pyfltr mcp
  • シェル補完スクリプト生成

インストール

uvx pyfltrで実行する。事前インストールやdev依存への追加なしで最新版を取得して実行する。

uvx pyfltr --help

uvでバージョン管理する場合はuv add --dev pyfltrまたはuv add --dev "pyfltr[python]"で追加し、 uv run pyfltr ...で呼び出す。 pip環境ではpip install pyfltrを使う。

実行するツールはpyproject.tomlの[tool.pyfltr]セクションで指定する。 段階的な導入手順ははじめにを参照。

使い方

チェック実行(ci / run / fast)・エージェント向け出力(run-for-agent)・横断検索と置換(grep / replace)など。 実行履歴参照(list-runs / show-run)・設定操作(config)・MCPサーバー(mcp)も利用できる。

詳細はCLIコマンドを参照。

コーディングエージェント向け

pyfltr run-for-agentをエージェントから直接呼び出すか、pyfltr mcpでMCPサーバーとして登録する。

# 直接呼び出し(JSONL出力)
uvx pyfltr run-for-agent

# MCPサーバーとして登録(Claude Code例)
claude mcp add pyfltr -- uvx pyfltr mcp

詳細はCLIコマンドの「コーディングエージェント連携」を参照。

ドキュメント

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pyfltr-3.10.0.tar.gz (519.2 kB view details)

Uploaded Source

Built Distribution

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

pyfltr-3.10.0-py3-none-any.whl (245.9 kB view details)

Uploaded Python 3

File details

Details for the file pyfltr-3.10.0.tar.gz.

File metadata

  • Download URL: pyfltr-3.10.0.tar.gz
  • Upload date:
  • Size: 519.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyfltr-3.10.0.tar.gz
Algorithm Hash digest
SHA256 0d4d293813d7a6906aea057f9b5c91c81284d59d5df9f81e084b5fc143e5a775
MD5 a5a82a3d937a49b9f49b9a649b4c8025
BLAKE2b-256 55f39186cf264efc8edff302637e6d5eb5915814d841fc26b2b258f2a369cc35

See more details on using hashes here.

File details

Details for the file pyfltr-3.10.0-py3-none-any.whl.

File metadata

  • Download URL: pyfltr-3.10.0-py3-none-any.whl
  • Upload date:
  • Size: 245.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyfltr-3.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4110b03c0fd91f66c1b1e00be2841e5efd992a93fdbeeb0718d0fcfef876d3e4
MD5 8671d1e131855e48960fc975bb6da501
BLAKE2b-256 09d55c6f710f86e773f2703e27f9900c3a7a8dc68ac88b9e595b91a1db35ab26

See more details on using hashes here.

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