File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # pip lock
2
+
3
+ > Lock Python packages and their dependencies into a reproducible file.
4
+ > Experimental feature of ` pip ` .
5
+ > More information: < https://pip.pypa.io/en/stable/cli/pip_lock/ > .
6
+
7
+ - Generate a ` pylock.toml ` for the current project:
8
+
9
+ ` pip lock {{[-e|--editable]}} . `
10
+
11
+ - Lock dependencies from a requirements file:
12
+
13
+ ` pip lock {{[-r|--requirement]}} {{path/to/requirements.txt}} `
14
+
15
+ - Specify a custom output file for the lock:
16
+
17
+ ` pip lock {{[-o|--output]}} {{path/to/lockfile.toml}} `
18
+
19
+ - Lock a specific package and its dependencies:
20
+
21
+ ` pip lock {{package}} `
Original file line number Diff line number Diff line change
1
+ # pip search
2
+
3
+ > Search for Python packages by name or summary.
4
+ > Doesn't work with PyPI; may work with other package indexes.
5
+ > More information: < https://pip.pypa.io/en/stable/cli/pip_search/ > .
6
+
7
+ - Search for packages using a custom package index:
8
+
9
+ ` pip search {{[-i|--index]}} {{example.com}} {{query}} `
You can’t perform that action at this time.
0 commit comments