{% extends "base.html" %} {% from "_macros.html" import icon, copy_button, source_marks %} {% block title %}{{ pkg.name }} - PyPihub{% endblock %} {% block main %} {% set cmd_base = 'pip install --index-url ' ~ pip_index_url ~ ((' --trusted-host ' ~ trusted_host) if trusted_host else '') %}

{{ icon('arrow-left') }} All packages

{{ pkg.name }}{% if pkg.latest %} {{ pkg.latest }}{% endif %}

{{ pkg.files|length }} file{{ '' if pkg.files|length == 1 else 's' }}, {{ pkg.total_size|filesize }} on this server. {{ source_marks(pkg.sources) }}

{{ cmd_base }} {{ pkg.name }} {{ copy_button('cmd-main') }}

Files

{% for f in pkg.sorted_files() %} {% endfor %}
Files of {{ pkg.name }} stored on this server
Filename Type Source Size Added Download
{{ f.filename }} {{ {'wheel': 'Wheel', 'sdist': 'Source', 'other': 'Other'}[f.kind] }} {{ source_marks([f.source]) }} {{ f.size|filesize }} {{ icon('download') }}Download {{ f.filename }}
{% if 'cached' in pkg.sources %}

Only files already stored on this server are listed. Other releases are fetched from PyPI when pip asks for them.

{% endif %}
{% endblock %}