Skip to main content

Generate sharable links to your Git source

Project description

PyPI - Python Version build

Git me the URL!

A python package that translates references in a local git repository into shareable URLs for popular Git hosting sites.

Currently supports:

  • GitHub
  • GitLab
  • Bitbucket

To add your own URL translator, see this example project: https://github.com/amykyta3/gmtu-plugin-example

Installing

Install from PyPi using pip:

python3 -m pip install git-me-the-url

Command line application

Use it for everyday link sharing with friends:

cmd-example

Python API

Embed in your Python application:

from gitmetheurl import GitMeTheURL

gmtu = GitMeTheURL()
url = gmtu.get_source_url("my_git_repo/my_file.txt")
print(url)

Download files

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

Source Distribution

git-me-the-url-2.0.3.tar.gz (19.6 kB view hashes)

Uploaded Source

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