{% extends "base.html" %} {% block fullbody %}

file {{ file.ident }}

{% if file.extra %}

Extra Metadata (raw JSON)

{% for (key, value) in file.extra.items() %}
{{ key }} {{ value }} {% endfor %}
{% endif %}

Releases

{% if file.releases != [] %} {% for release in file.releases %}
{% if release.release_date %}{{ release.release_date }}{% elif release.release_year %}{{ release.release_year }}{% endif %} {{ release.title }}
{{ release.release_type or "unknown" }} - {{ release.release_status or "unknown" }} {% if release.license_slug %} - {{ release.license_slug }}{% endif %} {% if release.doi %}
doi:{{ release.doi }} {% endif %} {% endfor %}
{% else %}

This file is not associated with any fatcat release. {% endif %}

URLs

{% if file.urls != None %} {% for url in file.urls %}
{{ url.rel }} {% if url.url.count('/') >= 3 %} {{ '/'.join(url.url.split('/')[0:2]) }}/{{ ''.join(url.url.split('/')[2]) }}/{{ '/'.join(url.url.split('/')[3:]) }} {% else %} {{ url.url }} {% endif %} {% endfor %}
{% else %} No known public URL, mirror, or archive for this file. {% endif %}

Checksums

{% if file.sha1 != None %}
SHA-1 {{ file.sha1 }} {% endif %} {% if file.sha256 != None %}
SHA-256 {{ file.sha256 }} {% endif %} {% if file.md5!= None %}
MD5 {{ file.md5 }} {% endif %}
{% if file.urls != None and file.urls != [] %} Download File {% else %} No Download Available {% endif %}
{% if file.size != None %}

Size  {{ file.size|filesizeformat }} (bytes)

{% endif %} {% if file.mimetype != None %}

File Type  {{ file.mimetype }}

{% endif %} Fatcat Bits

State is "{{ file.state }}". Revision:
{{ file.revision }}
As JSON object via API

{% endblock %}