macOS
brew install reorder-python-importslocal Homebrew formula metadata
brew / 順位 4160
reorder-python-imports のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install reorder-python-importslocal Homebrew formula metadata
概要
Rewrites source to reorder python imports
履歴
reorder-python-imports is a command-line source-rewriting tool that normalizes and modernizes Python import statements.
Anthony Sottile created reorder-python-imports as a Python source-rewriting tool. The official documentation characterizes it as similar to isort but making greater use of static analysis.
The project is usable as a standalone command and as a pre-commit hook. Its official repository includes hook metadata and a sample .pre-commit-config.yaml entry, making import normalization easy to adopt in repository-wide automated checks.
Users pass Python filenames to reorder-python-imports or configure its official pre-commit hook. It separates standard-library, third-party, and first-party imports; places import statements before from imports; splits multi-name from imports; removes duplicates; and can apply version-dependent rewrites. Project roots and src layouts can be supplied through command-line options.
The tool occupies a focused niche between import sorting and static source rewriting. Its predictable transformations and pre-commit integration make it useful to maintainers who want standardized imports with minimal formatter configuration.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
reorder-python-imports | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/asottile/reorder-python-imports
インストールメタデータ
| パッケージキー | brew:reorder-python-imports |
|---|---|
| バージョン | 3.17.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/reorder-python-imports |
| ホームページ | https://github.com/asottile/reorder-python-imports |
| リポジトリ | https://github.com/asottile/reorder-python-imports |
| ライセンス | MIT |
| ソースアーカイブ | https://files.pythonhosted.org/packages/06/0e/7d36e6213d30c2639e031992fc2afbe34a7149f1a0bc1e980c451944a0b8/reorder_python_imports-3.17.0.tar.gz |
| 最終更新 | 2026-07-11T21:26:53Z |
| Pulse | updated |
| 依存関係 | python@3.14 |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | reorder-python-imports |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.