Skip to content

hugovk/drop-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drop Python

Test Code style: Black

It's about time to drop support for old Pythons.

How to use

usage: generate.py [-h] [-n NUMBER] [-v VERSION [VERSION ...]]

Generate

optional arguments:
  -h, --help            show this help message and exit
  -n NUMBER, --number NUMBER
                        Number of packages to chart (default: 360)
  -v VERSION [VERSION ...], --version VERSION [VERSION ...]
                        Python version or versions to check (default: ['2.6',
                        '3.2', '3.3'])

For example:

$ python3 generate.py

$ python3 generate.py -v 3.2 -n 100

$ python3 generate.py -v 2.6

See also build.sh.

Gets list of packages from Top PyPI Packages.

How to test locally

In another terminal:

$ python3 -m http.server 8000

Then visit http://localhost:8000/

How to deploy

Make sure we're on main and run crontask.sh daily from cron.

Thanks

This is derivative work from Python Wheels, a site that tracks progress in the new Python package distribution standard called Wheels. Thanks also to Python 3 Wall of Superpowers for the concept and making their code open source, and see also Python 3 Readiness.