• Stars
    star
    278
  • Rank 148,454 (Top 3 %)
  • Language
    Python
  • Created over 2 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Schedule a Python script with GitHub Actions

Schedule a Python script with GitHub Actions

Watch the video tutorial:

Alt text

This example shows how to run a Python script as cron job with GitHub Actions. It calls an API once a week (could be any schedule you want), logs the response in status.log, and automatically pushes the changes to this repo.

  • Implement your script in main.py
  • Inspect and configure cron job in GitHub Action .github/workflows/actions.yml
  • It can install and use third party packages from requirements.txt
  • Secret environment variables can be used. Set secrets in Settings/Secrets/Actions -> 'New repository secret'. Use the same secret name inside actions.yml and main.py

More Repositories

1

ml-study-plan

The Ultimate FREE Machine Learning Study Plan
2,835
star
2

pytorchTutorial

PyTorch Tutorials from my YouTube channel
Python
1,756
star
3

MLfromscratch

Machine Learning algorithm implementations from scratch.
Python
1,282
star
4

python-fun

Some fun and useful projects with Python
Jupyter Notebook
730
star
5

python-engineer-notebooks

Jupyter Notebook
700
star
6

snake-ai-pytorch

Python
618
star
7

pytorch-chatbot

Simple chatbot implementation with PyTorch.
Python
415
star
8

chatbot-deployment

Deployment of PyTorch chatbot with Flask
CSS
359
star
9

python-docker-tutorial

Learn how to dockerize Python scripts and a Python web app
Python
295
star
10

ai-typing-assistant

AI powered local typing assistant built with Ollama
Python
292
star
11

pytorch-examples

Jupyter Notebook
223
star
12

python-task-automation

Useful Python scripts to help you be more productive
Python
146
star
13

tensorflow-course

Tensorflow Beginner Course from my YouTube channel
Jupyter Notebook
113
star
14

streamlit-demo

Build an interactive web app with streamlit and scikit-learn
Python
113
star
15

ml-deployment

Different tutorials how to deploy Machine Learning models
Python
104
star
16

youtube-analyzer

Extract statistics for a YouTube channel with the YouTube Data API
Python
84
star
17

ml-app-salaryprediction

Salary Prediction Web App With Streamlit
Jupyter Notebook
84
star
18

flask-todo

Simple Flask Todo App
HTML
65
star
19

docker-fastapi-ml

Python
49
star
20

google-sheets-finance-automation

Python
43
star
21

python-knowledge

Useful python knowledge
Python
33
star
22

fitness-app-python-harperdb

Manage your favorite workouts with Python and HarperDB
Python
23
star
23

blogposts-pythonengineer

Repo with articles for the python-engineer.com website. New authors are welcome!
21
star
24

patrickloeber

17
star
25

tweet-scheduler

Schedule Tweets with Flask and Heroku
HTML
14
star
26

patricks-workouts

Displays my Apple Health data in a Steamlit App.
Python
11
star
27

photo-tagging-app-cloudinary

Upload, tag, and analyze your photos in Python with Cloudinary
Python
9
star
28

harperdb-cloudfunction-example

Use HarperDB cloudfunctions to send an email
JavaScript
7
star
29

whoop-analyzer

Analyze Whoop Workout data with Python
Python
5
star
30

patloeber.com-images

2
star