Skip to content

pyreqs 1.2.1

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Dec 16:55
· 28 commits to main since this release

Release v1.2.1

Major Updates

  • create command

    • for spinning-up requirements.txt file for your python project.
    • takes in the following flags:
Flag Description Default value
-d or --dirPath path to the python directory or a .py file All the .py in working directory
-v or --venvPath directory containing venv (virtual env) dir for getting the imports Default scope is the working directory
-i or --ignore ignore specific directories (multiple dirs are seperated by comma) If not specified, no dirs are ignored
-p or --print print the requirements.txt to stdout false
-s or --savePath save path for requirements.txt the current working directory
-m or --mode set dynamic versioning: gt for >=; compat for ~=; none for no versioning ==
--debug print debug information 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 or --reqPath path to the requirements.txt REQUIRED
-d or --dirPath path to the python directory or a .py file Default scope is all the .py in working directory
-v or --venvPath directory containing venv (virtual env) dir for getting the imports Default cope is the working directory
-i or --ignore for ignoring specific directories (multiple dirs are seperated by comma) If not specified, no dirs are ignored
-p or --print for printing the requirements.txt to stdout false
--debug print debug information false

TODO

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