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

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / pyfltr-3.24.2.tar.gz

Download URL pyfltr-3.24.2.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
88f8fdc1a9c48c67be615ad11d1f6763eacab8b6a26d2e09c8bb9f26cc1dc16a
BLAKE2b-256 checksum
How to use checksums
ce72587655c7ec17d0b6d3ae38d6f29d95f25df50e84e9638d2799497a9265c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.24.2-py3-none-any.whl

Download URL pyfltr-3.24.2-py3-none-any.whl
Size 452.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
953665abd48613bd97b10d2df5685874e00fcd56a1cd51649734b67457e3f183
BLAKE2b-256 checksum
How to use checksums
986648b7909ff90806814b99a134a61fac7d10f151707aa5d95f483a2c99d03c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.24.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.24.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