FindSoftware

django-pattern-library

Django module that builds a browsable UI pattern library from Django templates, with YAML data and Markdown documentation per pattern.

django-pattern-library is a Django module for building UI pattern libraries, styleguides made from a project’s own Django templates. It is installed with pip or Poetry, and the library is rendered by Django, so it depends on Django for rendering. Django templates are supported, and Jinja templates are supported in an experimental form.

The library can also be exported as a static site, which the project describes as a way to publish a pattern library without a runtime dependency on the rest of the code.

Worth knowing

The getting-started guide says to enable the package only in testing environments, for a restricted, trusted audience. The Jinja support is marked experimental in the docs. The project is maintained by Torchbox Ltd, a company registered in England and Wales, and the repository is under the torchbox organization on GitHub.

Identity

Status
Active
Maintainer
Torchbox Ltd7
Maintained by
Company
First release
20199
Headquarters
United Kingdom8

Rendering and deploy

Runs as
Static files, Dev only36
Rendering
Static output6
Install with
pip install django-pattern-library, or Poetry3

Releases

Current major version
110
Last release
2026-07-2411

Adoption

GitHub stars
4242
Contributors
3012
Dependent repositories
2813
Dependent packages
113

Why these figures do not compare

Sources

  1. 2026-10-28: links, Categories
    torchbox.github.io/django-pattern-library/
  2. 2026-10-28: links, Written in, License, GitHub stars
    api.github.com/repos/torchbox/django-pattern-library
  3. 2026-10-28: links, Templating, Runs as, Install with
    torchbox.github.io/django-pattern-library/getting-started/
  4. 2026-10-28: Built on
    github.com/torchbox/django-pattern-library/blob/main/README.md
  5. 2026-10-28: Runtime, Minimum runtime
    github.com/torchbox/django-pattern-library/blob/v1.6.0/pyproject.toml
  6. 2026-10-28: Rendering, Runs as
    torchbox.github.io/django-pattern-library/guides/static-site-export/
  7. 2026-10-28: Maintainer, License model
    raw.githubusercontent.com/torchbox/django-pattern-library/main/LICENSE
  8. 2026-10-28: Headquarters
    torchbox.com/contact/
  9. 2026-10-28: First release
    pypi.org/pypi/django-pattern-library/json
  10. 2026-10-28: Current major version
    api.github.com/repos/torchbox/django-pattern-library/releases
  11. 2026-10-28: Last release
    github.com/torchbox/django-pattern-library/releases/tag/v1.6.0
  12. 2026-10-28: Contributors
    api.github.com/repos/torchbox/django-pattern-library/contributors?per_page=1
  13. 2026-10-28: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-pattern-library

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON