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)

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

git-me-the-url-2.1.0.tar.gz (19.8 kB view details)

Uploaded Source

File details

Details for the file git-me-the-url-2.1.0.tar.gz.

File metadata

  • Download URL: git-me-the-url-2.1.0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for git-me-the-url-2.1.0.tar.gz
Algorithm Hash digest
SHA256 abf8f4b10de393fe869225e0cd66f40de1864806cd1da2974026b9e91112c038
MD5 90eaeea83fa24e2bc864aea9b1d12f8b
BLAKE2b-256 b6bb5f894e0d740b6094f2fc7c3c00f9bf97eeb1778af8f8c470326f6284d716

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