Skip to content
Mark Mikofski edited this page Apr 17, 2025 · 2 revisions

Main dependencies

These are bokeh, dj-database-url, Django, django-tastypie, gunicorn, pandas, psycopg2, pvlib, pytest-django, and whitenoise

bokeh (3.0.1)

Used to make plots for detail module and inverter views.

bokeh dependencies

  • Jinja2-2.11.3

dj-database-url (2.2.0)

Used to create the Django database settings from the service URI for the Aiven PostgreSQL database instance.

Django (4.2.20 LTS)

Django is the webframework, ORM, and template engine.

django-tastypie (0.15.1)

Tastypie is the API framework for CRUD endpoints.

tastypie dependencies

  • PyYAML-5.4
  • lxml-4.9.1
  • defusedxml-0.7.1
  • python-dateutil-2.9.0
  • Django-3.2.25 (LTS)

gunicorn (23.0.0)

Used to serve the website on Azure and for testing on Ubuntu

pandas (1.3.5)

Used in tests and API.

pandas dependencies

  • python-dateutil

psycopg2 (2.8.5)

Use with Django database backend for PostgreSQL. Consider updating to psycopg3?

pyscopg2 dependencies

  • libpq-dev

pvlib (0.10.5)

Used in API and the detail pages.

pvlib dependencies

  • numpy updated to 1.26.4
  • scipy updated to 1.13.1
  • pandas

pytest-django

Used for testing on GitHub

pytest-django dependencies

  • pytest

whitenoise (6.3.0)

Middleware to collect static pages automatically.

Clone this wiki locally