# Generate a package from a pypi package
$nixrungithub:nix-community/pip2nix--generaterequests
# Generate packages from requirements.txt
$nixrungithub:nix-community/pip2nix--./requirements.txt
# A cool example with a shell
$nixshellgithub:nix-community/pip2nix$pip2nixgenerate"requests==2.32"numpy
FlakeFlake inputs and outputs are understood here, with flake-aware hovers and completion.Project filesNearby files from the example project are mounted, so relative paths and imports are real.
Share your thoughts