├── .env.dist ├── .gitignore ├── .render-buildpacks.json ├── Dockerfile.render ├── LICENSE.md ├── Procfile ├── README.md ├── app.json ├── application ├── __init__.py ├── config.py └── help_command.py ├── getwebhook.py ├── main.py ├── model └── __init__.py ├── public └── starleague_command.gif ├── render.yaml ├── requirements.txt ├── runtime.txt ├── src ├── driver │ ├── application │ │ └── drivers.py │ ├── domain │ │ └── driver.py │ └── infrastructure │ │ ├── get_code_drivers.py │ │ └── get_drivers.py ├── league │ ├── application │ │ ├── finish_season.py │ │ ├── removeleague.py │ │ ├── standings.py │ │ ├── standings_after_race.py │ │ └── startleague.py │ ├── domain │ │ └── league.py │ └── messages │ │ └── finish_season_message.py ├── prediction │ ├── application │ │ ├── predict.py │ │ └── predictions.py │ └── domain │ │ └── prediction.py ├── race │ ├── application │ │ ├── closes_race.py │ │ ├── finish_race.py │ │ ├── get_races.py │ │ └── next_race.py │ ├── domain │ │ └── race.py │ └── infrastructure │ │ ├── get_current_races.py │ │ └── get_next_race_schedule.py └── user │ ├── application │ ├── changepoints.py │ ├── leave.py │ └── register.py │ └── domain │ └── user.py ├── test ├── __init__.py └── test_sum_points.py ├── utils ├── check_duplicates.py ├── extract_arguments.py ├── schedule.py ├── sum_points.py └── tables.py └── webhook.py /.env.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/.env.dist -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/.gitignore -------------------------------------------------------------------------------- /.render-buildpacks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/.render-buildpacks.json -------------------------------------------------------------------------------- /Dockerfile.render: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/Dockerfile.render -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/README.md -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/app.json -------------------------------------------------------------------------------- /application/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/application/__init__.py -------------------------------------------------------------------------------- /application/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/application/config.py -------------------------------------------------------------------------------- /application/help_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/application/help_command.py -------------------------------------------------------------------------------- /getwebhook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/getwebhook.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/main.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/model/__init__.py -------------------------------------------------------------------------------- /public/starleague_command.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/public/starleague_command.gif -------------------------------------------------------------------------------- /render.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/render.yaml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/requirements.txt -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.8.13 2 | -------------------------------------------------------------------------------- /src/driver/application/drivers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/driver/application/drivers.py -------------------------------------------------------------------------------- /src/driver/domain/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/driver/domain/driver.py -------------------------------------------------------------------------------- /src/driver/infrastructure/get_code_drivers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/driver/infrastructure/get_code_drivers.py -------------------------------------------------------------------------------- /src/driver/infrastructure/get_drivers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/driver/infrastructure/get_drivers.py -------------------------------------------------------------------------------- /src/league/application/finish_season.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/league/application/finish_season.py -------------------------------------------------------------------------------- /src/league/application/removeleague.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/league/application/removeleague.py -------------------------------------------------------------------------------- /src/league/application/standings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/league/application/standings.py -------------------------------------------------------------------------------- /src/league/application/standings_after_race.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/league/application/standings_after_race.py -------------------------------------------------------------------------------- /src/league/application/startleague.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/league/application/startleague.py -------------------------------------------------------------------------------- /src/league/domain/league.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/league/domain/league.py -------------------------------------------------------------------------------- /src/league/messages/finish_season_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/league/messages/finish_season_message.py -------------------------------------------------------------------------------- /src/prediction/application/predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/prediction/application/predict.py -------------------------------------------------------------------------------- /src/prediction/application/predictions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/prediction/application/predictions.py -------------------------------------------------------------------------------- /src/prediction/domain/prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/prediction/domain/prediction.py -------------------------------------------------------------------------------- /src/race/application/closes_race.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/race/application/closes_race.py -------------------------------------------------------------------------------- /src/race/application/finish_race.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/race/application/finish_race.py -------------------------------------------------------------------------------- /src/race/application/get_races.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/race/application/get_races.py -------------------------------------------------------------------------------- /src/race/application/next_race.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/race/application/next_race.py -------------------------------------------------------------------------------- /src/race/domain/race.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/race/domain/race.py -------------------------------------------------------------------------------- /src/race/infrastructure/get_current_races.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/race/infrastructure/get_current_races.py -------------------------------------------------------------------------------- /src/race/infrastructure/get_next_race_schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/race/infrastructure/get_next_race_schedule.py -------------------------------------------------------------------------------- /src/user/application/changepoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/user/application/changepoints.py -------------------------------------------------------------------------------- /src/user/application/leave.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/user/application/leave.py -------------------------------------------------------------------------------- /src/user/application/register.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/user/application/register.py -------------------------------------------------------------------------------- /src/user/domain/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/src/user/domain/user.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/test_sum_points.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/test/test_sum_points.py -------------------------------------------------------------------------------- /utils/check_duplicates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/utils/check_duplicates.py -------------------------------------------------------------------------------- /utils/extract_arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/utils/extract_arguments.py -------------------------------------------------------------------------------- /utils/schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/utils/schedule.py -------------------------------------------------------------------------------- /utils/sum_points.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/utils/sum_points.py -------------------------------------------------------------------------------- /utils/tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/utils/tables.py -------------------------------------------------------------------------------- /webhook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marcrdez/FormulaOnePredictionBot/HEAD/webhook.py --------------------------------------------------------------------------------