Created
September 6, 2018 12:50
-
-
Save hhatto/340961a7f0d6739b37fb38f407bbd0ce to your computer and use it in GitHub Desktop.
count of aio package name on PyPI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
curl "https://pypi.org/simple/" > pypi.package.list.html | |
echo -n "XXXaio :" | |
grep "/simple/" pypi.package.list.html | grep "aio/" | grep -v "/aio-" | grep -v "\-aio/" | wc -l | |
echo -n "aioXXX :" | |
grep "/simple/" pypi.package.list.html | grep "/aio" | grep -v "/aio-" | grep -v "\-aio/" | wc -l | |
echo -n "XXX-aio :" | |
grep "/simple/" pypi.package.list.html | grep "\-aio/" | wc -l | |
echo -n "aio-XXX :" | |
grep "/simple/" pypi.package.list.html | grep "/aio-" | wc -l | |
echo -n "asyncio-XXX:" | |
grep "/simple/" pypi.package.list.html | grep "/asyncio-" | wc -l | |
echo -n "XXX-asyncio:" | |
grep "/simple/" pypi.package.list.html | grep "\-asyncio/" | wc -l |
Author
hhatto
commented
Sep 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment