Skip to main content

pyfltr: 多言語プロジェクトの品質チェック基盤

CI PyPI version

多言語プロジェクトの品質チェックを一元管理し、コーディングエージェントから扱える形で提供する基盤。 Python / Rust / .NET / TypeScript・JavaScript / ドキュメントなどの formatter・linter・testerを単一コマンドで実行する。 プロジェクト固有のカスタムチェックも同一基盤へ統合できる。 (要Python 3.12以上)

特徴

  • プロジェクト固有のカスタムチェック(独自スクリプト等)を組み込みツールと同一の実行基盤へ統合できる
  • コーディングエージェント向けJSON Lines出力(--output-format=jsonl)とMCPサーバー(pyfltr mcp)を提供する
  • formatter・linter・testerをまとめて呼び出し、複数ツールの並列実行で総実行時間を短縮する
  • 全件実行の履歴から変更の影響を受けるpytestテストを選べる
  • 設定をpyproject.tomlに集約する
  • 除外指定(exclude)の書式差をツール間で吸収する
  • 横断検索(grep)と置換(replace、世代管理付き--undo対応)を提供する
  • シェル補完スクリプトを生成する

インストール

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)・横断検索と置換(grep / replace)など。 実行履歴参照(list-runs / show-run)・設定操作(config)・MCPサーバー(mcp)も利用できる。

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

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

pyfltr runをエージェントから直接呼び出すか、pyfltr mcpでMCPサーバーとして登録する。 AI_AGENT / CODEX_CI / CLAUDECODE / CURSOR_AGENTのいずれかが設定された環境では、 runの出力形式がJSON Lines、静音モードが既定値として有効になる。

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

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

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

プロジェクト固有のチェックを追加する方法は プロジェクト固有チェックの追加を参照。

ドキュメント

Metadata

Release files for pyfltr 3.33.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfltr 3.33.4
File Size Uploaded Provenance Actions
pyfltr-3.33.4.tar.gz 986.9 kB Without provenance Details for pyfltr-3.33.4.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / pyfltr-3.33.4.tar.gz

Download URL pyfltr-3.33.4.tar.gz
Size 986.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7418044f6744dd0aed2b4a51a4e4f5819a896d56c7d83d849a95192a5c33d044
BLAKE2b-256 checksum
How to use checksums
fb039b8cbcf0e14fb991eacfa0b41ffe854965b2de69d6e09f3e4420e1e1d445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pyfltr-3.33.4-py3-none-any.whl

Download URL pyfltr-3.33.4-py3-none-any.whl
Size 345.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8ae47afc805841139a8a7173554c7a2d4db5bc3ec81c61ce522c8aa6dcc5dfe
BLAKE2b-256 checksum
How to use checksums
c06b57fa324535f7ae6eefd60184baabebffb359efbe2fa77f45e568870c78b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pyfltr 3.33.4

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.33.4 This release

2 release files No provenance

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