add recent downloads to __all__

This commit is contained in:
crflynn
2018-09-01 10:31:13 -04:00
parent 31e398c5d3
commit 97a94a202c

View File

@@ -20,7 +20,6 @@
{% endif %} {% endif %}
{% if package == "__all__" %} {% if package == "__all__" %}
<p>Download stats for __all__ indicate downloads across all packages on PyPI.</p> <p>Download stats for __all__ indicate downloads across all packages on PyPI.</p>
<br>
{% else %} {% else %}
<p> <p>
{% if metadata %} {% if metadata %}
@@ -56,7 +55,9 @@
{% else %} {% else %}
No metadata found. No metadata found.
{%endif%} {%endif%}
<br><br> {% endif %}
<br>
<br>
Downloads last day: Downloads last day:
{{"{:,.0f}".format(recent['day'])}} {{"{:,.0f}".format(recent['day'])}}
<br> <br>
@@ -66,7 +67,6 @@
Downloads last month: Downloads last month:
{{"{:,.0f}".format(recent['month'])}} {{"{:,.0f}".format(recent['month'])}}
</p> </p>
{% endif %}
<script> <script>
(function () { (function () {