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

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.2
File Size Uploaded Provenance Actions
pyfltr-3.33.2.tar.gz 979.6 kB Without provenance Details for pyfltr-3.33.2.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / pyfltr-3.33.2.tar.gz

Download URL pyfltr-3.33.2.tar.gz
Size 979.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a53f9e0ef1668adcb7f3a2015b05ed8d4d3da9fbce20274b3d356cbb7acaf19e
BLAKE2b-256 checksum
How to use checksums
1ea219af7690725198f49f2e22ce862b9a63ee1ccc03954462b4bb184749acb2
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.2-py3-none-any.whl

Download URL pyfltr-3.33.2-py3-none-any.whl
Size 345.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1561ae70496af72cc9318f2b08f0ccce9564bfd9cc68de823407f005dd02df6
BLAKE2b-256 checksum
How to use checksums
a898250c02407c469c626239fce381691b7c7bee4279a158cd98801062ead657
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.2

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