Skip to main content

An automation tool to control GitHub, using the developers terminal with cool automation

Project description

gnv - 1.0.8 Anaconda-Server Badge Anaconda-Server Badge GitHub repo size GitHub repo size

An automation tool that is based on Command Line and Selenium that controls Github repos, themes and data 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

  • Controls Github from CLI
  • 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

ChangeLog:

  • v1.0.8: Added a small feature, that was a bug, to 'gnv git ga'

  • v1.0.7: Minor Bug Fix. Release of v1.0.7 to anaconda

  • v1.0.6: Bug Fix.

  • v1.0.5: Big Release. Added Functionallity to create git in any repquired destination path, Improved colors for the terminal, more accuracy in deleting repositories, bug fixes

  • v1.0.4: Major Release, capability to set Github theme, list repos of the given account.

    Note: Please Provide Your Username and account for all the commands as gnv needs it for getting the right data of the right user

  • v1.0.3: improved speed in creating and deleting Repos, with enabled auto element detection for slow internet and direct URL launching feature to improve the time efficiency

  • v1.0.2: Bug Fix. Improved Time Efficiency. Password hidden feature in the terminal or console.

  • v1.0.1: Username and Password through the command line instead of the code itself

  • v1.0: The initial Stable version

Prerequisites:

  • Google Chrome Browser
  • Chrome Driver and its path set
  • GitHub Account
  • Python with pip
  • Preferable Python version should be 3
  • 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 git create <repo-name>

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

To set Theme for GitHub account gnv git theme <light/dark/default>

To list your GitHub accounts repositories gnv git list

To run commands of git all the git commands gnv git ga

After running these command you will be asked to give your github Username and password and some others to know what are your needs. No worries! No data is taken It is just for the security 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. Only set your webdrivers path correctly

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.8.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

gnv-1.0.8-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gnv-1.0.8.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for gnv-1.0.8.tar.gz
Algorithm Hash digest
SHA256 b32c825375fad01cc4845480f1c7934967a60130d40838d24dc85863218be040
MD5 2f724a3b7aa12cbb122f6a0a4f36da44
BLAKE2b-256 87c5ee8615a86d6cbef3a5966f6556ddb989cc3bdb94baf23ba3821e559a4837

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gnv-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for gnv-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 bd3ad290098313f9c6eab8c2b716011d6e4dbc1d56cb187ae13a4bb876fa3631
MD5 94d39c70aff7bb6ce431af4a705c6043
BLAKE2b-256 db798dca3d54cbd0c22a3e75ea8f924f3c7280ea0523061c5e6641e545e0e12e

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