Metadata-Version: 2.1
Name: django-viewcomponent
Version: 1.0.1
Summary: Build reusable components in Django, inspired by Rails ViewComponent
Home-page: https://github.com/rails-inspire-django/django-view-component
License: MIT
Author: Michael Yin
Author-email: michaelyin@accordbox.com
Requires-Python: >=3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: django (>=3.0)
Project-URL: Changelog, https://github.com/rails-inspire-django/django-view-component/releases
Description-Content-Type: text/markdown

# README

django-viewcomponent is a Django library that provides a way to create reusable components for your Django project.

It is inspired by [ViewComponent](https://viewcomponent.org/) for Ruby on Rails.

## Why use django-viewcomponent

### Single responsibility

django-viewcomponent can help developers to build reusable components from the Django templates, and make the templates more readable and maintainable.

### Testing

django-viewcomponent components are Python objects, so they can be **easily tested** without touching Django view and Django urls.

