Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

kimadeline/pypi-simple-scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI simple scraping 🥧🕵️‍♀️

Parse the content of the landing page of PyPI's simple API, and extract some fun facts:

  • Longest package name
  • Average package name length
  • Number of packages with py, python and test in their name

Setup

$ python -m venv .venv
$ source .venv/bin/activate
$ python -m pip install -r requirements.xt
$ python pypisimple/scraping.py

Options

  • -o, --offline: Computes stats from the cached data stored in pypi.json (gets updated every time the script isn't run in offline mode).

About

Scraping of PyPI's simple API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages