{% extends "base.html" %} {% block title %}SBOM for {{ name }} {{ version }} — pypi-tea{% endblock %} {% block meta %} {% endblock %} {% block content %} {% set check_icon %}{% endset %} {% set cross_icon %}{% endset %}

SBOM for {{ name }} {{ version }}

{% if summary %}

{{ summary }}

{% endif %}
{% for fmt in formats %}{{ fmt }}{% endfor %} {% if has_attestation %} PEP 740 attested {% endif %}

Package information

{% if author %}
Author
{{ author }}
{% endif %} {% if license %}
License
{{ license }}
{% endif %} {% if requires_python %}
Requires Python
{{ requires_python }}
{% endif %}
PyPI
{{ name }} {{ version }}
{% for label, url in project_urls.items() %}
{{ label }}
{{ url }}
{% endfor %}

Available SBOMs

Read from .dist-info/sboms/ in each wheel.

{% for wheel in wheels %}

{{ wheel.filename }}

{% if wheel.attestation and wheel.attestation.status == "verified" %} {{ check_icon }} Attested {% elif wheel.attestation and wheel.attestation.status == "failed" %} {{ cross_icon }} Failed {% endif %}
{% if wheel.attestation and wheel.attestation.status == "verified" %}
{% if wheel.attestation.publisher_kind %}Publisher: {{ wheel.attestation.publisher_kind }}{% endif %} {% if wheel.attestation.repository %}Source: {{ wheel.attestation.repository }}{% endif %} {% if wheel.attestation.workflow %}Workflow: {{ wheel.attestation.workflow }}{% endif %} {% if wheel.attestation.environment %}Environment: {{ wheel.attestation.environment }}{% endif %}
{% endif %}
{% for sbom in wheel.sboms %}
{% if sbom.valid is not none %} {% if sbom.valid %}{{ check_icon }}{% else %}{{ cross_icon }}{% endif %} {% if sbom.valid %}Valid{% else %}Invalid{% endif %} {% endif %}
{{ sbom.path.split('/')[-1] }}
{% if sbom.format %}{{ sbom.format }}{% endif %} {{ sbom.media_type }}
Download
{% endfor %}
{% endfor %}

Access via TEA

Use the Transparency Exchange API to fetch this SBOM programmatically:

pip install libtea
python -m libtea {{ server_root_url }} pkg:pypi/{{ name }}@{{ version }}
{% endblock %}