Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show top 720 packages #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
)


TO_CHART = 360
TO_CHART = 720


def main(*args):
Expand Down
35 changes: 32 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@
$(".list-upto-120").html(populate(data.slice(0, 120)));
$(".list-upto-240").html(populate(data.slice(120, 240)));
$(".list-upto-360").html(populate(data.slice(240, 360)));
$(".list-upto-480").html(populate(data.slice(360, 480)));
$(".list-upto-600").html(populate(data.slice(480, 600)));
$(".list-upto-720").html(populate(data.slice(600, 720)));

handle_css();
};

function handle_css(){
var ids = [".list-upto-120", ".list-upto-240", ".list-upto-360"]
var ids = [".list-upto-120", ".list-upto-240", ".list-upto-360", ".list-upto-480", ".list-upto-600", ".list-upto-720"]

$.each(ids, function(idx, id) {

Expand Down Expand Up @@ -93,10 +96,10 @@
<div class="row">
<div class="col-sm-12 col-md-12">
<h1>Python 3 Readiness</h1>
<p class="text-center text-info">Python 3 support graph for 360 most popular Python packages!</p>
<p class="text-center text-info">Python 3 support graph for 720 most popular Python packages!</p>
<object data="wheel.svg" type="image/svg+xml" class="center-block"></object>
<h2>What is this about?</h2>
<p>This site shows Python 3 support for 360 most downloaded packages on <a href="https://pypi.org/">PyPI</a></p>
<p>This site shows Python 3 support for 720 most downloaded packages on <a href="https://pypi.org/">PyPI</a></p>
<ol>
<li><span class="text-success">Green</span> packages support Python 3 (or has drop in replacement package which supports Python 3),</li>
<li><span class="text-muted">White</span> packages don't support Python 3 yet.</li>
Expand Down Expand Up @@ -150,6 +153,32 @@ <h3 class="panel-title text-center"><span class="glyphicon glyphicon-list"></spa
<div class="list-upto-360"></div>
</div>
</div>
<div class="row">
<div class="col-sm-4 col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title text-center"><span class="glyphicon glyphicon-list"></span> Top 360 - 480</h3>
</div>
</div>
<div class="list-upto-480"></div>
</div>
<div class="col-sm-4 col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title text-center"><span class="glyphicon glyphicon-list"></span> Top 480 - 600</h3>
</div>
</div>
<div class="list-upto-600"></div>
</div>
<div class="col-sm-4 col-md-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title text-center"><span class="glyphicon glyphicon-list"></span> Top 600 - 720</h3>
</div>
</div>
<div class="list-upto-720"></div>
</div>
</div>
<h2>Thanks</h2>
<p>This is derivative work from <a href="http://pythonwheels.com/">Python Wheels</a>, a site that tracks progress in new Python package distribution standard called <a href="https://pypi.org/project/wheel/">Wheels</a>. All the credits goes to <a href="http://meshy.co.uk/">meshy</a>.
<!-- fork me -->
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
boto3
caniusepython3==6.0.0
caniusepython3
requests