Skip to content

Repository files navigation

PVSiteAPI

All Contributors

Warning

This repo will soon be deprecated in favour of quartz-api

API for PV site level forecasting

Setup and Run

Install python dependencies

poetry install

Start the API using uvicorn

poetry run uvicorn pv_site_api.main:app --reload

Running the tests

poetry run pytest tests

Data Platform Integration

Generation values are always forwarded to the OCF Data Platform via gRPC. Configure the following environment variables to point it at the right instance:

Environment Variable Default Description
DATA_PLATFORM_HOST localhost gRPC host for Data Platform service
DATA_PLATFORM_PORT 50051 gRPC port for Data Platform service

Manual Observer Creation (Pre-requisite)

Before sending observations to a new Data Platform environment, create/register the pv_actual observer.

Coding style

Format the code in place

make format

Verify that the code satisfies the style

make lint

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Peter Dudfield
Peter Dudfield

💻
rachel tipton
rachel tipton

💻
Eric Liu
Eric Liu

💻
Simon Lemieux
Simon Lemieux

💻
Rahul Maurya
Rahul Maurya

💻
Suleman Karigar
Suleman Karigar

💻
BraunRudolf
BraunRudolf

💻
Nicholas Tucker
Nicholas Tucker

💻
Anas Khan
Anas Khan

💻
Utkarsh Verma
Utkarsh Verma

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Site specific API for PV forecasting

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages