Skip to content

pyreqs 1.2

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Dec 10:37
· 45 commits to main since this release

Release v1.2

This is the first full release for pyreqs.

Features

  • create command

    • for spinning-up requirements.txt file for your python project.
    • takes in the following flags:
Flag Description Default value
-d path to the python directory or a .py file If not specified, the scope is all the .py in working directory
-v directory containing venv (virtual env) dir for getting the imports If not specified, the scope is the working directory
-i for ignoring specific directories (multiple dirs are seperated by comma) If not specified, no dirs are ignored
-p for printing the requirements.txt to stdout false
  • clean command

    • for cleaning-up the provided requirements.txt file for your python project.
    • takes in the following flags:
Flag Description Default value
-r path to the requirements.txt [required] throws error if not specified
-d path to the python directory or a .py file If not specified, the scope is all the .py in working directory
-v directory containing venv (virtual env) dir for getting the imports If not specified, the scope is the working directory
-i for ignoring specific directories (multiple dirs are seperated by comma) If not specified, no dirs are ignored
-p for printing the requirements.txt to stdout false

TODO

  • Print debug information flag
  • Dynamic versioning for imports (>=, ==, ~=. no pin)
  • Visual Changes