Skip to main content

quick-install-pypi

快速创建虚拟环境并以可编辑模式(pip install -e .)安装当前 Python 项目,加速本地开发启动。

安装

pip install quick-install-pypi

使用

在项目根目录(含 pyproject.tomlsetup.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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quick_install_pypi-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quick_install_pypi-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file quick_install_pypi-0.1.0.tar.gz.

File metadata

  • Download URL: quick_install_pypi-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for quick_install_pypi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d650b89cebbd81f84dbd4e33ebdb9fa0e52d99688482371d10ce61e8b68d6b9a
MD5 21589e761f6569d1f01cf3489f331c3c
BLAKE2b-256 d07d68b406af1ba2bc26ce2a9aa23ff141ff768ffd1a218c079f63258f70ee18

See more details on using hashes here.

File details

Details for the file quick_install_pypi-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for quick_install_pypi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03d3bdf73b39274ffd19af1c1f32c8cab202b85fb6fb2a817637f36b2ed06877
MD5 b0d43e9d5e60a9537372eb5c3277f9dd
BLAKE2b-256 b0bb4f2d7d08ec3c0dec028ac94ff3c4e30508bd7e849599f5c0b1698095343c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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