GitXplorerGitXplorer
c

py3readiness

public
159 stars
70 forks
11 issues

Commits

List of commits on branch master.
Verified
d81a322ae643790c2b92b95d200037d320df2911

Update README.md

cchhantyal committed 5 years ago
Unverified
610e133ee97c2967818b3228f6b8bba80a7f10bc

remove cname

committed 5 years ago
Verified
cd4ff79785e6f4fe6f9646d769a62dc2a8de2a5e

Merge pull request #70 from waldyrious/patch-1

cchhantyal committed 5 years ago
Verified
5c4116a2f5a4f9bd07fefa7b6e4009feb43a7c06

index.html: various fixes

wwaldyrious committed 5 years ago
Verified
3d028f80051608d4ad99b0745468b707ac388923

Merge pull request #69 from waldyrious/patch-1

cchhantyal committed 5 years ago
Verified
a7a99508d9b82feccab4f047db52b804bd834ef3

Minor grammar fix in index.html

wwaldyrious committed 5 years ago

README

The README file for this repository.

Python 3 readiness

Python 3 support graph for most popular Python libraries and packages http://chhantyal.net/py3readiness

How do you identify Python 3 support?

This site utilizes little tool, caniusepython3 created by Brett Cannon.

Throw your requirements.txt file at it and it will tell you which packages support Python 3, and list out which don't.

Contribute

Please use issue tracker for issues, suggestions, feature requests and further enhancements.

How does the site work?

The site works by checking PyPi periodically (currently daily).
Script generate.py is run daily which generates JSON and updates date and time.

For almost a year, the site was running on very low resource VPS with nginx as web server.
Daily update was done via cron job in same machine.

Currently, generate.py function is run on AWS Lambda.
It saves output JSON file to S3 which is used to build graph. Site itself is hosted on GitHub Pages.

Local

Output (results.json, wheel.svg, wheel.css) are uploaded to S3. You need to configure aws-cli

  1. aws configure
  2. python generate.py

Deploy

AWS Lambda needs all dependencies as zip file along with codebase.

  1. zip -r app.zip generate.py src/
  2. cd path/to/site-packages/
  3. zip -r app.zip *

Finally, upload the app.zip file and update version.

Credits

This is derivative work from Python Wheels, a site that tracks progress in new Python package distribution standard called Wheels. All the credits goes to meshy.