Skip to content

This python script is created to make GitHub repository with single command line.

Notifications You must be signed in to change notification settings

kriyptor/GitHub-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub-Automation

This is the repository of Github Automation using python.
Do you want to make Github repository with just single command line. Well, then you are at right place. Just follow the instruction given below

Let's Start

  1. Clone the repo in your machine
  2. Save the script in a convenient location
  3. Write Your Github User Name in the place of UserName
  4. Write Your Github password in the place of Password
  5. Write path of dirver loaction in executable_path
  6. Save The file

Things You Need For this automation

1. Selenium
2. Chrome webdriver
3. Firefox webdriver

How To Get Selenium

Simply just do "pip install selenium" in your commande line prompt (make sure you have installed the python in your computer)

How To Get Chrome Webdriver

=>To get chrome web driver you have to install chocolatey package manager

=>Steps to Install chocolatey/choco on Windows 10
  1. Click Start and type powershell
  2. Right-click Windows Powershell and choose Run as Administrator (make sure it is on administration mode)
  3. Paste the following link command into Powershell and press enter: Set-ExecutionPolicy Bypass -Scope Process -Force; `iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
  4. Answer Yes when prompted
  5. Close and re-open an elevated PowerShell window to start using choco

=>Now we are ready to install chrome driver

  1. open your commande prompt and run it as administration
  2. writechoco install chromedrive r and press enter
  3. It will get download

How ever if you have any problem to download chocolatey you can go to this link for help: https://chocolatey.org/docs/installation#more-install-options
And if you have problem regarding chrome driver you can go to this link for help https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver

How to get Firefox Web Driver

  1. Go to this link to download the Firefox web driver https://github.com/mozilla/geckodriver/releases
  2. Scroll down and select the suitable web driver version for your system
  3. Download it
  4. Extract the zip file in a convenient location of your system

And you are good to go!!!!

  1. Make sure you put this script file in very conveniant drictory of system So, you dont have to write long cd commands to navigate in the directory
  2. Open the command prompt as administrator
  3. Just write this command in your command prompt "python.exe C: Script Loction path\Github-auto.py" and hit the enter button.
  4. Choose the browser that you want to open for Github
BOOM!! You have just created a new github repo with just single command line!!

Happy Automation!!!!! :)

About

This python script is created to make GitHub repository with single command line.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages