{% extends "pypi_ds/layouts/marketing.html" %} {% import "pypi_ds/components/data.html" as data %} {% import "pypi_ds/components/feedback.html" as feedback %} {% import "pypi_ds/components/layout.html" as layout %} {% import "pypi_ds/components/navigation.html" as navigation %} {% import "pypi_ds/components/package.html" as package %} {% set project = project|default({ "name": "pypi-ds", "version": "0.1.0", "released": "May 2026", "status_text": "Latest version", "status_tone": "good", "pip_command": "pip install pypi-ds" }) %} {% set release_history_columns = release_history_columns|default([ {"key": "version", "label": "Version"}, {"key": "released", "label": "Released"}, {"key": "notes", "label": "Notes"} ]) %} {% set release_history_rows = release_history_rows|default([ {"version": "0.1.0", "released": "May 2026", "notes": "Initial design system extraction"}, {"version": "0.0.5", "released": "Apr 2026", "notes": "Visual tuning against Warehouse components"}, {"version": "0.0.1", "released": "Mar 2026", "notes": "Prototype component inventory"} ]) %} {% set files = files|default([ {"filename": "pypi_ds-0.1.0-py3-none-any.whl", "meta": "36 kB · Uploaded from CI", "href": "/files/pypi_ds-0.1.0-py3-none-any.whl"}, {"filename": "pypi_ds-0.1.0.tar.gz", "meta": "24 kB · Source distribution", "href": "/files/pypi_ds-0.1.0.tar.gz"} ]) %} {% set project_links = project_links|default([ {"label": "Documentation", "href": "https://example.invalid/docs"}, {"label": "Source", "href": "https://example.invalid/src"}, {"label": "Issue tracker", "href": "https://example.invalid/issues"} ]) %} {% set maintainers = maintainers|default(["PyPI team", "Packaging WG", "Your product team"]) %} {% block title %}Project detail · PyPI Design System{% endblock %} {% block content %} {{ package.package_header(project) }} {% call layout.horizontal_section("horizontal-section--grey horizontal-section--thin") %}
A reusable Jinja2 component library that keeps the shape, rhythm, and hierarchy of Warehouse while remaining portable to other sites.
The extracted components are designed to be imported as Jinja macros and layered into your own layouts, while preserving PyPI's familiar structure and tone.
The system includes layout shells, hero sections, search forms, navigation patterns, status messaging, package cards, and project detail presentation built from Warehouse's source templates and Sass blocks.