Skip to main content

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

CI PyPI version

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

特徴

  • プロジェクト固有のカスタムチェック(独自スクリプト等)を組み込みツールと同一の実行基盤へ統合できる
  • コーディングエージェント向けJSON Lines出力(--output-format=jsonl)とMCPサーバー(pyfltr mcp)を提供する
  • formatter・linter・testerをまとめて呼び出し、複数ツールの並列実行で総実行時間を短縮する
  • 設定を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.24.0

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.24.0
File Size Uploaded Provenance Actions
pyfltr-3.24.0.tar.gz 1.1 MB Without provenance Details for pyfltr-3.24.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / pyfltr-3.24.0.tar.gz

Download URL pyfltr-3.24.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
fe4df91ee86b8e347a0107d318cd7beb17fd8c7998da6c180e3b56d4bb96e3ac
BLAKE2b-256 checksum
How to use checksums
b90dc1b9a8cf55e3e21b102adb462b8e367c5727004e30da0fb6634914bece27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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}

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

Download URL pyfltr-3.24.0-py3-none-any.whl
Size 450.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
335e85fa2cba9a16520cedbf44a38cf81c9be463f75a4d5786eef933fc36ffc8
BLAKE2b-256 checksum
How to use checksums
ab9c66f1026062331660c1b28da699c73ec38b46026ae3e3b80b249a51147340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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}

Security for pyfltr 3.24.0

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