Oct-16-2019, 01:59 PM
The 100,000 mark for PyPi was on March 4, 2017.
import requests from bs4 import BeautifulSoup def pypi_check(): url = 'https://pypi.org/' response = requests.get(url) soup = BeautifulSoup(response.content, 'lxml') package_count = soup.find('div', class_='statistics-bar').find('p') package_count = int(''.join(package_count.text.split()[0].split(','))) print(f'PyPi has reach {package_count}\N{fire}\N{fire} projects\N{slightly smiling face}') pypi_check()