项目概述
A Python utility / library to sort imports.
项目地址
https://github.com/PyCQA/isort
项目页面预览

关键指标
- Stars:6890
- 主要语言:Python
- License:MIT License
- 最近更新:2025-12-10T19:30:24Z
- 默认分支:main
本站高速下载(国内可用)
点击下载(本站镜像)
– SHA256:cddd03fcaaaabe37578b1f0af027dab75edc14eeaed50f23a84a41909c571f7e
安装部署要点(README 精选)
Installing isort
Installing isort is as simple as:
pip install isort
Installing isort’s for your preferred text editor
Several plugins have been written that enable to use isort from within a
variety of text-editors. You can find a full list of them on the isort
wiki.
Additionally, I will enthusiastically accept pull requests that include
plugins for other text editors and add documentation for them as I am
notified.
Skip processing of imports (outside of configuration)
To make isort ignore a single import simply add a comment at the end of
the import line containing the text isort:skip:
import module # isort:skip
or:
from xyz import (abc, # isort:skip
yo,
hey)
To make isort skip an entire file simply add isort:skip_file to the
module’s doc string:
""" my_module.py
Best module ever
isort:skip_file
"""
import b
import a
常用命令(从 README 提取)
pip install isort
isort mypythonfile.py mypythonfile2.py
isort .
通用部署说明
- 下载源码并阅读 README
- 安装依赖(pip/npm/yarn 等)
- 配置环境变量(API Key、模型路径、数据库等)
- 启动服务并测试访问
- 上线建议:Nginx 反代 + HTTPS + 进程守护(systemd / pm2)
免责声明与版权说明
本文仅做开源项目整理与教程索引,源码版权归原作者所有,请遵循对应 License 合规使用。








暂无评论内容