quick-install-pypi
快速创建虚拟环境并以可编辑模式(pip install -e .)安装当前 Python 项目,加速本地开发启动。
安装
pip install quick-install-pypi
使用
在项目根目录(含 pyproject.toml 或 setup.py)下运行:
install-pypi
默认行为:在当前项目下创建 .venv 虚拟环境,并在其中执行 pip install -e .。
常用选项
| 选项 | 说明 |
|---|---|
-n, --venv-name |
虚拟环境目录名(默认 .venv) |
-p, --python |
建环境所用基础解释器路径(默认当前解释器) |
--clear |
虚拟环境已存在则先清除重建 |
--no-install |
仅创建虚拟环境,不执行可编辑安装 |
--project |
显式指定项目根目录(默认自动探测) |
--upgrade |
可编辑安装时升级依赖 |
示例:
install-pypi -n .venv --clear
install-pypi -p python3.11
install-pypi --no-install
也可作为模块运行:
python -m quick_install_pypi
许可证
MIT
Metadata
Release files for quick-install-pypi 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quick_install_pypi-0.1.0.tar.gz | 4.7 kB | Without provenance | Details for quick_install_pypi-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quick_install_pypi-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for quick_install_pypi-0.1.0-py3-none-any.whl |
Total release size: 10.2 kB
Release files / quick_install_pypi-0.1.0.tar.gz
| Download URL | quick_install_pypi-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d650b89cebbd81f84dbd4e33ebdb9fa0e52d99688482371d10ce61e8b68d6b9a
|
|
BLAKE2b-256 checksum How to use checksums |
d07d68b406af1ba2bc26ce2a9aa23ff141ff768ffd1a218c079f63258f70ee18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / quick_install_pypi-0.1.0-py3-none-any.whl
| Download URL | quick_install_pypi-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03d3bdf73b39274ffd19af1c1f32c8cab202b85fb6fb2a817637f36b2ed06877
|
|
BLAKE2b-256 checksum How to use checksums |
b0bb4f2d7d08ec3c0dec028ac94ff3c4e30508bd7e849599f5c0b1698095343c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for quick-install-pypi 0.1.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.