Skip to main content

Django Lookbook

Empower your Django development with this pluggable app for creating a robust component library. Includes preview system, documentation engine, and parameter editor for building modular UI effortlessly.

Documentation  |  Demo site

Pypi version CI status

Django Lookbook UI

Features

  • Auto-detect and render the previews
  • Filter previews in real-time
  • Draggable and resizable layout
  • Auto extract documentation from the preview doc string
  • Powerful parameter editor, which allows the user to check UI in real-time (for example: change button text and color)
  • This app is pluggable and can be integrated with any Django project

Techs

This project is a reusable Django app that uses the following technologies:

  1. Tailwind CSS
  2. Stimulus JS

Storybook Controls

Storybook Controls gives you a graphical UI to interact with a component's arguments dynamically without needing to code. It creates an addon panel next to your component examples ("stories"), so you can edit them live.

django-lookbook provides simple way to let developer use classic Django form to add Params Editor to the preview, which allow user to interact with the preview in real-time.

Params Editor

Special Thanks

This project is heavily inspired by lookbook from the Rails community.

Metadata

Release files for django-lookbook 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-lookbook 1.0.2
File Size Uploaded Provenance Actions
django_lookbook-1.0.2.tar.gz 1.6 MB Without provenance Details for django_lookbook-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-lookbook 1.0.2
File Interpreter ABI Platform Actions
django_lookbook-1.0.2-py3-none-any.whl Python 3 none any Details for django_lookbook-1.0.2-py3-none-any.whl

Total release size: 3.3 MB

Release files / django_lookbook-1.0.2.tar.gz

Download URL django_lookbook-1.0.2.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
3305b1c458e2a79e82626ded556e9bbdce31825112789473c316aabcdccd3ebb
BLAKE2b-256 checksum
How to use checksums
355b918068ebee1bae38438571908a5311b5da0b2cb1593342963fc2b12e3b1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / django_lookbook-1.0.2-py3-none-any.whl

Download URL django_lookbook-1.0.2-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
af8228ceca9c93ae287d447f70923988bb4c4cc9758d371fe22fc95fa42efd10
BLAKE2b-256 checksum
How to use checksums
1889ada3b333bc6ea8d3ac02eda1664de29d4f7d89bf87ebfb7129bee0c50349
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for django-lookbook 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page