Skip to content

Instantly share code, notes, and snippets.

@JonahTzuChi
Created June 11, 2024 04:05
Show Gist options
  • Save JonahTzuChi/2fac9bc0bf40321d376a2b3d334fcb73 to your computer and use it in GitHub Desktop.
Save JonahTzuChi/2fac9bc0bf40321d376a2b3d334fcb73 to your computer and use it in GitHub Desktop.
Monitor Stats of PYPI packages
# pip3 install pypistats
import pypistats
def main():
packages = ["pygrl", "python-telegram-broadcast"]
for pkg in packages:
print(f"{pkg}\n")
stats = pypistats.overall(pkg, mirrors=False)
print(stats)
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment