venv · pipenv · poetry · conda
🧪 Working in Progress
npm i -g @zhengbangbo/pi
pi
# python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
# pipenv install
# poetry install
pi rich
# pip install rich
# pipenv install rich
# poetry add rich
pru dev
# pipenv run dev
# poetry run dev
psh
# pipenv shell
# pipenv shell
pun
# pipenv uninsatll
# poetry remove
pu
# pipenv update
# poetry update
pci
# pipenv clean
pa
# pipenv
# poetry
pi assumes that you work with lockfiles (and you should)
Before it runs, it will detect your requirement.txt
/ Pipfile.lock
/ poetry.lock
to know current package manager and runs the corresponding commands.
- detect agent
- venv
- pipenv
- poetry
- conda
- cover main commands
- install pipenv / poetry / conda script
This project is inspired by Anthony Fu's antfu/ni project and has many references.
MIT License © 2022 Bang-Bo Zheng