aclark4life / vanity

Get package download statistics from PyPI
GNU General Public License v2.0
66 stars 14 forks source link

Add --pattern option #21

Closed hugovk closed 8 years ago

hugovk commented 8 years ago

Add a --pattern option to filter the results using a regex.

So for example you can just see the Pillow downloads for Python 3.2:

C:\>vanity pillow -p "Pillow-3.0.0.*win32.*py3.2|Pillow-3.0.0.*cp32.*win32"
    Pillow-3.0.0.win32-py3.2.exe    2015-10-01          582
Pillow-3.0.0-cp32-none-win32.whl    2015-10-01          591
-----------------------------------------------------------
Pillow has been downloaded 1173 times!

Also includes PR https://github.com/aclark4life/vanity/pull/20.

aclark4life commented 8 years ago

Holy cow this is awesome, thanks Hugo!

aclark4life commented 8 years ago

Released: https://pypi.python.org/pypi/vanity/2.2.0