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

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.3
File Size Uploaded Provenance Actions
pyfltr-3.33.3.tar.gz 980.9 kB Without provenance Details for pyfltr-3.33.3.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / pyfltr-3.33.3.tar.gz

Download URL pyfltr-3.33.3.tar.gz
Size 980.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a1fc4a19a6cb3463be93c4fc280a439d8bdfc4bb2d81ce7e13c9da18be47cf25
BLAKE2b-256 checksum
How to use checksums
29791e5fef38eb9a5cb0fb54167f65c11afc60cf1fda6abe7959a6736f9e115a
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.3-py3-none-any.whl

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

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