Skip to main content

A simple script that opens a Github page from the command line.

Project description

Open Github

A simple script that opens a Github page from the command line.

Installation

pip install open-github

After installing you can make the package available in your path and bind it to any shortcut you want.

alias og='/Users/${USER}/Library/Python/3.7/lib/python/site-packages/open_github_pkg/__init__.py'

https://pypi.org/project/open-github/

Usage

Navigate to any directory with a github repository and run the alias you have assigned to the script.

Example:

og

This will open your browser with the appropiate Github repository homepage.

As well, running with the flag -v will simply print the url to the console.

og -v

Deploying

In order to deploy package the following tools are needed, pip, sdist & twine.

Bump version

In the setup.py bump version of package.

Generate distribution archive

python3 setup.py sdist bdist_wheel

This command should output a lot of text and once completed should generate two files in the dist directory.

Upload the distrubution package

python3 -m twine upload dist/*

If you need to use the development environment simply use:

python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

Reference:

Project details


Download files

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

Files for open-github, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size open_github-2.0.0-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size open-github-2.0.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page