Skip to content

Application for running PVNet in production

License

Notifications You must be signed in to change notification settings

glitch401/pvnet_app

 
 

Repository files navigation

pvnet_app

All Contributors

Application to run PVNet and (optionally) PVNet summation in live environments e.g Dev/Prod.

The app supports multiple model versions being deployed to live environments, the models are pulled from HuggingFace and ran with specific configurations which are set via environment variables.

Running tests locally

To be able to run the tests locally it is recommended to use conda & pip and follow the steps from the Install requirements section onwards in the Dockerfile or the install steps in the conda-pytest.yaml file and run tests the usual way via python -m pytest. Note if using certain macs you may need to install python 3.11 to get this to work.

Running the app locally

It is possbile to run the app locally by setting the required environment variables listed at the top of the app, these should point to the relevant data sources and DBs for the environment you want to run the app in. You will need to make sure you have opened a connection to the DB, as well as authenticating against any cloud providers where data may be stored (e.g if using AWS S3 then can do this via the AWS CLI command aws configure), a simple notebook has been created as an example.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Dubraska Solórzano
Dubraska Solórzano

💻
James Fulton
James Fulton

💻
Megawattz
Megawattz

💻
Peter Dudfield
Peter Dudfield

💻

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

About

Application for running PVNet in production

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.1%
  • Jupyter Notebook 2.5%
  • Dockerfile 1.4%