Bump jinja2 from 3.1.2 to 3.1.3
Bumps jinja2 from 3.1.2 to 3.1.3.
updated-dependencies:
- dependency-name: jinja2 dependency-type: direct:production …
Signed-off-by: dependabot[bot] support@github.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
Pipenv: Python Development Workflow for Humans
Pipenv is a Python virtualenv management tool that supports a multitude of systems and nicely bridges the gaps between pip, python (using system python, pyenv or asdf) and virtualenv. Linux, macOS, and Windows are all first-class citizens in pipenv.
Pipenv automatically creates and manages a virtualenv for your projects, as well as adds/removes packages from your
Pipfileas you install/uninstall packages. It also generates a projectPipfile.lock, which is used to produce deterministic builds.Pipenv is primarily meant to provide users and developers of applications with an easy method to arrive at a consistent working project environment.
The problems that Pipenv seeks to solve are multi-faceted:
pipandvirtualenvseparately: they work together.requirements.txtfile with package hashes can be problematic. Pipenv usesPipfileandPipfile.lockto separate abstract dependency declarations from the last tested combination.$ pipenv graph)..envfiles.Table Of Contents
Pipenv
Installation
Features
Basic Concepts
Other Commands
Shell Completion
Usage
Usage Examples
Commands
Locate the Project
Locate the virtualenv
Locate the Python Interpreter
Install Packages
Installing from git
Install a dev dependency
Show a dependency graph
Generate a lockfile
Install all dev dependencies
Uninstall everything
Use the shell
Documentation
Installation
Pipenv can be installed with Python 3.7 and above.
For most users, we recommend installing Pipenv using
pip:Or, if you're using Fedora:
Or, if you're using FreeBSD:
Or, if you're using Gentoo:
Or, if you're using Void Linux:
Alternatively, some users prefer to use Pipx:
Or, some users prefer to use Python pip module
Refer to the documentation for latest instructions.
✨🍰✨
Features
pyenvorasdfis available.Pipfile.Pipfile, if one doesn't exist.Pipfilewhen they are installed/uninstalled..envfiles, if they exist.For command reference, see Commands.
Basic Concepts
install, all packages[packages]specified will be installed.Shell Completion
To enable completion in fish, add this to your configuration
~/.config/fish/completions/pipenv.fish:There is also a fish plugin, which will automatically activate your subshells for you!
Alternatively, with zsh, add this to your configuration
~/.zshrc:Alternatively, with bash, add this to your configuration
~/.bashrcor~/.bash_profile:Magic shell completions are now enabled!
Usage
Usage Examples:
Commands:
Locate the project:
Locate the virtualenv:
Locate the Python interpreter:
Install packages:
Installing from git:
You can install packages with pipenv from git and other version control systems using URLs formatted according to the following rule:
The only optional section is the
@<branch_or_tag>section. When using git over SSH, you may use the shorthand vcs and scheme aliasgit+git@<location>:<user_or_organization>/<repository>@<branch_or_tag>#<package_name>. Note that this is translated togit+ssh://git@<location>when parsed.Valid values for
<vcs_type>includegit,bzr,svn, andhg. Valid values for<scheme>includehttp,,https,ssh, andfile. In specific cases you also have access to other schemes:svnmay be combined withsvnas a scheme, andbzrcan be combined withsftpandlp.Note that it is strongly recommended that you install any version-controlled dependencies in editable mode, using
pipenv install -e, in order to ensure that dependency resolution can be performed with an up to date copy of the repository each time it is performed, and that it includes all known dependencies.Below is an example usage which installs the git repository located at
https://github.com/requests/requests.gitfrom tagv2.19.1as package namerequests:You can read more about pip’s implementation of vcs support here.
Install a dev dependency:
Show a dependency graph:
Generate a lockfile:
Install all dev dependencies:
Uninstall everything:
Use the shell:
Documentation
Documentation resides over at pipenv.pypa.io.
Star History