thanks
thanks copied to clipboard
Thanks should support multiple ways to specify packages to check
trafficstars
From discussion in #pypa on freenode:
It would be great if thanks <package name> just worked, even on packages that weren't installed locally.
@phildini were you thinking of following the pip cli api.
thanks -r requirements.txt
thanks package-name
thanks setup.py
???
So, here's my vision for the interface. All of these are listed in "order in which I would like to see them implemented"
thankswith no arguments - looks at the results ofpip list, fetches the funding data for everything it finds.thanks -r requirements.txt- looks only at the requirements.txt, fetches the funding data for what's listed therethanks {package_name}- fetches the funding data of a single package.
Note, when I say "fetches" here, I mean "should check locally first and then try to optionally hit PyPI"
Deep future:
thanks -p Pipfile- does whatthanks -r requirements.txtdoes, but on a Pipfilethanks -s setup.py- same, but on a setup.py