macOS
brew install reorder-python-importslocal Homebrew formula metadata
brew / Rang 4160
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für reorder-python-imports in AI-Agent-Workflows.
Installation
brew install reorder-python-importslocal Homebrew formula metadata
Überblick
Rewrites source to reorder python imports
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
reorder-python-imports | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/asottile/reorder-python-imports
Installationsmetadaten
| Paketschlüssel | brew:reorder-python-imports |
|---|---|
| Version | 3.17.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/reorder-python-imports |
| Homepage | https://github.com/asottile/reorder-python-imports |
| Repository | https://github.com/asottile/reorder-python-imports |
| Lizenz | MIT |
| Quellarchiv | https://files.pythonhosted.org/packages/06/0e/7d36e6213d30c2639e031992fc2afbe34a7149f1a0bc1e980c451944a0b8/reorder_python_imports-3.17.0.tar.gz |
| Zuletzt aktualisiert | 2026-07-11T21:26:53Z |
| Pulse | updated |
| Abhängigkeiten | python@3.14 |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.