⚠️ Note: This package is currently in active development.
django_kpi
is a Django package designed to create flexible Key Performance Indicators (KPIs) for your projects. This package allows you to define, track, and manage KPIs with ease.
- Define custom KPIs
- Track KPI performance over time (WIP)
- Flexible configuration options
- Easy integration with existing Django projects
To install django_kpi
, use pip:
pip install django_kpi
-
Add
django_kpi
to yourINSTALLED_APPS
in your Django settings:INSTALLED_APPS = [ ... 'django_kpi', ]
-
Update your
urls.py
to include thedjango_kpi
URLs:from django.urls import path, include urlpatterns = [ ... path('kpi/', include('django_kpi.urls')), ]
-
Run the migrations to create the necessary database tables:
python manage.py migrate
-
Define your KPIs in the Django admin interface or through the provided API.
-
Use KpiCards on your views check example
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or support, please contact mchahboun@majaracapital.com.