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をまとめて呼び出す単一コマンド
  • 複数ツールの並列実行による総実行時間の短縮
  • 設定の集約: pyproject.tomlに寄せた統一設定
  • 除外指定(exclude)の書式差をツール間で吸収
  • 自動修正系ツール(ruff format・prettierなど)を修正と失敗扱いの両立で実行
  • LLMエージェント向けJSON Lines出力(pyfltr run-for-agentPYFLTR_OUTPUT_FORMAT環境変数・--output-format=jsonl)に対応
  • MCPサーバーを本体同梱(pyfltr mcp)。Claude Desktopなどのエージェントから直接lint実行・アーカイブ参照が行える
  • シェル補完スクリプト生成(pyfltr generate-shell-completion)に対応

インストール

pip install pyfltr
# uv を使う場合
uv add --dev pyfltr

uvxでの実行も可能。

uvx pyfltr --help

Python系ツール(ruff / mypy / pylint / pyright / ty / pytest / uv-sort)を利用する場合は、extrasで追加依存を導入する。

pip install 'pyfltr[python]'

Python / JavaScript / Rust / .NETの各言語カテゴリに属するツールはすべて既定で無効(opt-in)である。 preset = "latest" + 言語カテゴリキー(python / javascript / rust / dotnet)のtrue指定だけで、当該言語の推奨ツール一式が有効化される。 プリセット非収録のツール(tyなど)を追加したい場合のみ個別に{command} = trueを指定する。 詳細は設定項目を参照。

ドキュメント

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.0.0.tar.gz (317.0 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.0.0-py3-none-any.whl (111.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfltr-3.0.0.tar.gz
  • Upload date:
  • Size: 317.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.0.0.tar.gz
Algorithm Hash digest
SHA256 4a7d4e57f4c207382f769432d2f552438f1a69865f41bfcfaf98f09569251fc5
MD5 2b0e4f657360bf4424c1e61b15f1b4c1
BLAKE2b-256 b68a3191154a361bee1e86477cd0c270b60b9e518dc8408cfb2bd7cd6fa8e6d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfltr-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 111.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f469f16897a411e85fdc6bd0a9e45601f4e90c66954feb997d49fa1de9ce16e3
MD5 5665896a219ceec2a3615caba7cfe9f5
BLAKE2b-256 fdc42112717ee5c9b3929485835c936444d6d71459b504d93fa77c30ff289dce

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