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

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.1.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

gnv-1.0.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file gnv-1.0.1.tar.gz.

File metadata

  • Download URL: gnv-1.0.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for gnv-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7257960a86dafdf807aa04e332639d232a071b7f9a2bf763e5a6458676522da9
MD5 491e1f91c04a430c63b596761f376915
BLAKE2b-256 bd2fe95cbdb5c6672d8209dfa815314d706c3cdf2640e1ac625e3a1ecb80a8d6

See more details on using hashes here.

File details

Details for the file gnv-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: gnv-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for gnv-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 230c6db07e51a45dd735f86c4166af41b9526ce9785937a3cf2f9c1e01d6a505
MD5 0931cdc0d4f240ad9b1e32627e46d710
BLAKE2b-256 00d28dc6f128f338532683af84e847bdefd68f7e86b0e6aaa9831c00b2599757

See more details on using hashes here.

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