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.12.1.tar.gz (612.6 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.12.1-py3-none-any.whl (281.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfltr-3.12.1.tar.gz
  • Upload date:
  • Size: 612.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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.12.1.tar.gz
Algorithm Hash digest
SHA256 bbf876249cd411ac67a439740782f9c5281342a07631279ceef3ee506c636317
MD5 4ba65fcfaf5c191d931b70e8be8421de
BLAKE2b-256 697bbf3fa09b790243a3d5a49b9342119d0dcec713d1d161d6ed211a825bb73a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfltr-3.12.1-py3-none-any.whl
  • Upload date:
  • Size: 281.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb4d2ae4b015f9ced42dc57eafd2315364fd8315b2508f186d522aaca079c35d
MD5 97040f0414c22daae0d9a320b75b1613
BLAKE2b-256 c9d31b1cedc41486b2f1d381a9e43f2aeabeccd365b576b582c8973c6d6589bf

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