Skip to main content

Command line utility to quickly shorten github links with support for custom urls.

Project description

PyGitio PyPI

forthebadge

PyGitio is a cli wrapper for the git.io URL shortener with support for custom URLs.

Installation

Requirements

  • Python 3
$ pip install PyGitio

Usage

$ pygitio <GithubURL> <CustomText>

<GithubURL> is the URL that will be shortened.

<CustomText> is the custom text that will be used.

For example,

$ pygitio https://github.com/hsuay ayush

This will copy the shortened URL, https://git.io/ayush to the clipboard.

Dependencies

Development

Feel free.

$ virtualenv env
$ . env/bin/activate
$ pip install -e .

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Mirrors

Links

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

PyGitio-1.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

PyGitio-1.1-py3-none-any.whl (3.2 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