Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

42
pipenv Normal file
View File

@@ -0,0 +1,42 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pipenv
> Simple and unified Python development workflow.
> Manages packages and the virtual environment for a project.
> More information: <https://pypi.org/project/pipenv>.
- Create a new project:
`pipenv`
- Create a new project using Python 3:
`pipenv --three`
- Install a package:
`pipenv install {{package}}`
- Install all the dependencies for a project:
`pipenv install`
- Install all the dependencies for a project (including dev packages):
`pipenv install --dev`
- Uninstall a package:
`pipenv uninstall {{package}}`
- Start a shell within the created virtual environment:
`pipenv shell`
- Generate a `requirements.txt` (list of dependencies) for a project:
`pipenv lock --requirements`