python-inspector
python-inspector copied to clipboard
Add option to get resolved packages in a requirements.txt file
Hi @TG1999 ,
I would like to work in this issue.
After using the tool, as far as I have understood, the output json has an "is_resolved" key that is true for some packages and false for some (see screenshots below).
I think what needs to be done is to select the packages which has "is_resolved" true and write them into a requirements.txt file.
Is this what you intended in this issue?
Please let me know. Thanks.
@arijitde92 Thanks!
re:
I think what needs to be done is to select the packages which has "is_resolved" true and write them into a requirements.txt file.
that's it!
Now to write requirement files, you may want to look into the pip-requirements-parser as is should have a way to write things out.
Ok. I am working on it.
Now to write requirement files, you may want to look into the pip-requirements-parser as is should have a way to write things out.