Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/capeddemon/mechanized-branch

Github is now undercontrol of me.
https://github.com/capeddemon/mechanized-branch

automation git github-api github-config python python-script selenium web-scraping

Last synced: 2 days ago
JSON representation

Github is now undercontrol of me.

Awesome Lists containing this project

README

        

# **Mechanized Branch**

![](https://github.com/Shreejan-35/Mechanized-Branch/blob/main/images/automate_gif.webp)

*Mechanized* literally means **automation**. And this branch which you are now observing is automated by the python script.
This python project actually automates my workflow related to Git & Github.

# Documentation

First of all this is a python script.
It can automate my github profile and do things like:-
- Login into my github profile
- Creating a new repoisitory
- Adding the file, commiting it and pushing it to repository. While doing this open your repository using the driver_init command, open the internet and wait to complete.

(Many more things are going to be added to this project)

This python script is object oriented to give little twist to simple programming and deploy multiple bots at same time.

Information of different functions :-
- While initialising the object of the class it takes the location of the chromedriver.exe file to open the chrome.
- The driver_init function initialises the driver
- The login function takes username and password and logins in the github profile.(**WARNING**: In my case it has not asked about the 6 digit verification code but in your case it can ask)
- The new_repo function takes repository name, description of the repository and type of the repository and fills all the thing. You need to just click the **Create repository** button.

**This is made for windows but not fot other OS**

# Tools & Configuraton
- Language : Python(3.9.5)
- Google Chrome - version(95.0.4638.69)
- Chrome Driver - version(95.0.4638.69)
- VS Code
- Libraries :- selenium, subprocess, os, requests, json

# Installation
You can just clone my repository using the following link and can fill up the necessary-

```
https://github.com/CapedDemon/Mechanized-Branch.git
```
After cloning the fill the necessary and uncomment the comment.

# License
**MIT**