Python pip¶
Installs python packages from PyPI.
Commands¶
Install in editable mode: pip install -e .
Identify what depends on a package: pip aws awscli | grep "Required-by"
Generate requirements.txt¶
You can use tools like pipreqs or pip-tools to analyze your Python files and generate a requirements.txt file.
For pipreqs:
This will create a requirements.txt file in your project root.