neelabalan/py-package-download-forecast
0
HuggingFace Spaces YAML Front matter config
py-package-download-forecast
 [](https://github.com/neelabalan/py-package-download-forecast/actions/workflows/synchf_spaces.yml)
Workflow
Generates best ARIMA model every week based on the latest data from PyPI Stats API. The model training happens on the recent data and forecast is done for next 30 days.
Github artifact is used to store the models. The Gradio application hosted in HugginFace Spaces calls the Github Artifact API to download the latest set of models.
Note: The artifact retention days is set to 30 and can be configured from the project settings
___
Config
# Set of packages for which model is trained and downloads is forecasted
packages = ["fastapi", "flask", "requests", "pytorch", "tensorflow"]
# github username
username = "neelabalan"
# repository name of project
repo_name = "py-package-download-forecast"
# Forecast steps
forecast_days = 30
# 'm' values to try for best model
m_values = [3, 6]