Skip to content

Commit

Permalink
index.html: various fixes
Browse files Browse the repository at this point in the history
- Adjust punctuation in various places
- Wrap long lines to make the code (and diffs) more readable
- Add a missing closing tag (</p>) and self-close stand-alone tags
- Fix indentation in script block and in text below "Thanks" heading
  • Loading branch information
waldyrious authored Aug 14, 2019
1 parent 3d028f8 commit 5c4116a
Showing 1 changed file with 45 additions and 21 deletions.
66 changes: 45 additions & 21 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<script type="text/javascript">
$(function(){
Expand Down Expand Up @@ -67,14 +67,14 @@

handle_css();
};

$(document).ready(function() {
$.getJSON('results.json', json_success);
$("#show-hide-py3").click(show_hide_py3);
});
});
</script>
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" rel="stylesheet">
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" rel="stylesheet" />
<style>
body{margin-top:15px;}
a.btn, h1{text-align: center;}
Expand All @@ -96,24 +96,35 @@ <h1>Python 3 Readiness</h1>
<p class="text-center text-info">Python 3 support graph for the 360 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 the 360 most downloaded packages on <a href="https://pypi.org/">PyPI</a></p>
<p>This site shows Python 3 support for the 360 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-success">Green</span> packages support Python 3 (or have a drop-in replacement package which supports Python 3);</li>
<li><span class="text-muted">White</span> packages don't support Python 3 yet.</li>
</ol>
<h2>Package 'x' is white. What can I do?</h2>
<p>There can be many reasons a package is still not supporting Python 3.</p>
<p>There can be many reasons why a package still does not support Python 3.</p>
<ul>
<li>
<p>If you are package maintainer, it's time to start porting (if you haven't already). <strong>Here is an in-depth guide <a href="http://python3porting.com/">Porting to Python 3</a></strong> and the <a href="https://docs.python.org/3/howto/pyporting.html">official porting HOWTO</a>. If you are not able to give the time needed, please seek for help from the community by announcing your need for help on blog, IRC, mailing lists etc.</p>
<p>
If you are package maintainer, it's time to start porting (if you haven't already).
<strong>Here is an in-depth guide <a href="http://python3porting.com/">Porting to Python 3</a></strong>
and the <a href="https://docs.python.org/3/howto/pyporting.html">official porting HOWTO</a>.
If you are not able to give the time needed, please seek for help from the community
by announcing your need for help on blogs, IRC, mailing lists, etc.
</p>
</li>
<li>
<p>If you are user of the package, send a friendly note to the package maintainer. Or fork it, and send a pull request to help move the project towards Python 3 support.</p>
<p>
If you are user of the package, send a friendly note to the package maintainer.
Or fork it, and send a pull request to help move the project towards Python 3 support.
</p>
</li>
</ul>
<h2>How do you identify Python 3 support?</h2>
<p>This site utilizes a little tool, <a href="https://github.com/brettcannon/caniusepython3">caniusepython3</a> 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. If you want to know how the site works, see <a href="https://github.com/chhantyal/py3readiness">README</a>.
<p>
This site utilizes a little tool, <a href="https://github.com/brettcannon/caniusepython3">caniusepython3</a>, 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.
If you want to know how the site works, see <a href="https://github.com/chhantyal/py3readiness">README</a>.
</p>
</div>
</div>
Expand Down Expand Up @@ -151,9 +162,18 @@ <h3 class="panel-title text-center"><span class="glyphicon glyphicon-list"></spa
</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>.
<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>.
</p>
<!-- fork me -->
<a href="https://github.com/chhantyal/py3readiness"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
<a href="https://github.com/chhantyal/py3readiness">
<img style="position: absolute; top: 0; right: 0; border: 0;"
src="https://github-camo.global.ssl.fastly.net/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67"
alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
/>
</a>
<footer>
<!-- AddThis Button BEGIN -->
<div class="row">
Expand All @@ -169,18 +189,22 @@ <h2>Thanks</h2>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50e3db385da4dd15"></script>
<!-- AddThis Button END -->
<p>Maintained by <a href="http://twitter.com/chhantyal">chhantyal</a>, updates on <a href="https://twitter.com/py3readiness">Twitter</a>, source code on <a href="https://github.com/chhantyal/py3readiness">GitHub</a>.</p>
<p>
Maintained by <a href="http://twitter.com/chhantyal">chhantyal</a>;
updates on <a href="https://twitter.com/py3readiness">Twitter</a>;
source code on <a href="https://github.com/chhantyal/py3readiness">GitHub</a>.
</p>
<p>Last updated on <span class="date"></span></p>
</footer>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-48631938-1', 'py3readiness.org');
ga('send', 'pageview');
ga('create', 'UA-48631938-1', 'py3readiness.org');
ga('send', 'pageview');
</script>
</body>
</html>

0 comments on commit 5c4116a

Please sign in to comment.