Skip to main content

An automation tool to create and delete GitHub Repos using the developers terminal[in an amazing automated look]

Project description

gnv - 1.0.3

An automation tool that is based on Command Line and Selenium that creates or deletes Github repos from the developers terminal

gnv uses 'click' and 'selenium' modules/packages of python to give the users a feel of both the command line interface and automation at the same time

gnv is strictly for lazy developers like me, who wish to get everthing from there console itself

Features

  • Creates or Deletes your GitHub repos
  • Doesn't collect any data of the users
  • Fast
  • Open Source
  • Automated look[The best part]
  • Can be used Globally on the developers work-machine
  • gnv signs-out the account after the process has completed to enable developers use git commands and improve security

Prerequisites:

  • Google Chrome Browser
  • Chrome Driver and its path set
  • GitHub Account
  • And finally a Text-Editor, IDE or a general terminal for running the command

Note: Please make sure to disable 2FA(2 Factor Authentication) on your GitHub account as gnv uses 'selenium' and the latter needs to get proper elements of the browser at the right time, else the program stops executing. Maybe in the next version of 'gnv' I will make it work even with 2FA enabled. Kindly Oblige

Setup:

There are 2 ways for the setup or installation of gnv:

  1. Run pip install gnv or pip3 install gnv This will install gnv onto your work machine.
  2. Clone gnv repo if you want to use someother browser apart from Chrome. But make sure to add your browser's driver to your system's path and change the name of the browser in the code above. Once done open the root folder and run pip install . or pip3 install .

That's it! Now you can use gnv globally on any terminal of your system

Usage

After installing gnv using any of the above 2 methods run the following commands: To create a GitHub Repo: gnv github create <repo-name>

To delete a GitHub Repo gnv github delete <repo-name>

After running these command you will be asked to give your github Username or email and password and some others to enhance your repo. No worries! No data is taken It is just for the login and logout purpose

Uninstalling

Hope you don;t uninstall 'gnv'. But if you want so then run pip uninstall gnv or pip3 uninstall gnv

Any Extras to be installed?

Nothing else is required to run gnv. Selenium and Click modules with their dependencies are installed during the installation of gnv

License GitHub

Copyright 2020 GN Vageesh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "gnv"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE F OR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gnv-1.0.3.tar.gz (1.7 MB view hashes)

Uploaded Source

Built Distribution

gnv-1.0.3-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page