https://github.com/luka1199/project-automation
:robot: A script that automates my GitHub project creation routine using PyGithub
https://github.com/luka1199/project-automation
automation project-automation pygithub python python-automation
Last synced: 9 months ago
JSON representation
:robot: A script that automates my GitHub project creation routine using PyGithub
- Host: GitHub
- URL: https://github.com/luka1199/project-automation
- Owner: luka1199
- License: mit
- Created: 2019-08-28T21:29:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-06T09:01:45.000Z (almost 5 years ago)
- Last Synced: 2025-04-14T05:37:17.259Z (about 1 year ago)
- Topics: automation, project-automation, pygithub, python, python-automation
- Language: Python
- Homepage:
- Size: 264 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project Automation
A script that automates my GitHub project creation routine using PyGithub.

## What it does
- Creates a private or public GitHub repository with project name and description
- Creates the project in the specified directory
- Adds a ```README.md``` with the project name and description to the project
- Adds an empty ```.gitignore``` to the project
- Commits ```README.md``` and ```.gitignore```
- Opens the project in Visual Studio Code
## Installation
### Clone
Clone this repo to your local machine using
```
git clone https://github.com/luka1199/project-automation
```
### Dependencies
Run ```pip install -r requirenments.txt``` to install the dependencies.
### Setup
The ```config.yaml``` will be created after running ```python create.py``` for the first time.
Alternatively you can run ```cp config_default.yaml config.yaml``` to create the config manually.
You can use the ```config.yaml``` to save your GitHub credentials and multiple project locations.
Format of the config:
```yaml
credentials:
username: ''
password: ''
access_token: ''
paths:
path1: ''
path2: ''
path3: ''
```
You can change the names of the paths and add as many as you like.
## How to run the script
```
python create.py
```