git-me-the-url
Generate sharable links to your Git source
Decision gist · record as of 2026-08-14
Yes, if you need to generate shareable git hosting URLs from local repositories. Install friction is minimal and the library is stable. The LGPLv3 copyleft license is a consideration for proprietary use. The aging maintenance status (no updates in 266 days) is a minor concern but not a blocker for stable functionality; monitor the repository for security issues or breaking changes in your hosting platforms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a working git installation and a valid local git repository to reference.
- Low friction install with a single runtime dependency (gitpython).
- Last release was recent and the repository is active, though maintenance is aging—no updates in the past 266 days despite the project being marked production-stable.
License · maintenance · safety
LGPLv3 (copyleft) — Licensed under LGPLv3 (copyleft), which requires that any modifications you distribute must also be licensed under LGPLv3 and source made available; acceptable for most open-source and internal use but restrictive for proprietary closed-source distribution.
last release 2025-11-21 (266 days) · last repo commit 2025-11-21 · 5 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 202,631 downloads/mo, #9,644 on PyPI
Alternatives
Verify before relying
pip install git-me-the-url
from gitmetheurl import GitMeTheURL
gmtu = GitMeTheURL()
url = gmtu.get_source_url("my_git_repo/my_file.txt")
print(url)- Whether the plugin system is documented and stable enough for production use.
- Performance characteristics when handling large repositories or many concurrent URL translations.
- Whether the package handles edge cases like detached HEAD states or submodules.
What it is and what it does
Git me the URL is a Python library and command-line tool that takes a reference to a file, commit, or branch in a local git repository and generates a shareable URL pointing to that resource on a public git hosting platform. It currently supports GitHub, GitLab, and Bitbucket out of the box, and provides a plugin interface for adding support for other hosting services.
The package is designed for developers who want to quickly share links to code with teammates or in documentation without manually constructing URLs. It works by inspecting the local repository's remote configuration to determine the hosting platform and constructing the appropriate URL format for that platform. The library can be used either as a command-line tool for ad-hoc link generation or embedded in Python applications that need to programmatically generate shareable code links.
Use it for
- Generate GitHub/GitLab/Bitbucket URLs from local file paths to share in chat or documentation.
- Embed in CI/CD pipelines to automatically create shareable links to build artifacts or test reports.
- Build IDE plugins or editor extensions that add 'share this file' functionality.
- Create issue tracker integrations that link to specific lines of code in pull requests.
- Automate link generation in code review tools or documentation generators.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to generate shareable git hosting URLs from local repositories.
Install friction is minimal and the library is stable. The LGPLv3 copyleft license is a consideration for proprietary use. The aging maintenance status (no updates in 266 days) is a minor concern but not a blocker for stable functionality; monitor the repository for security issues or breaking changes in your hosting platforms.
Install
git-me-the-url on PyPI
Before you install
Low friction install with a single runtime dependency (gitpython). Last release was recent and the repository is active, though maintenance is aging—no updates in the past 266 days despite the project being marked production-stable.
Requires a working git installation and a valid local git repository to reference.
License in practice
Licensed under LGPLv3 (copyleft), which requires that any modifications you distribute must also be licensed under LGPLv3 and source made available; acceptable for most open-source and internal use but restrictive for proprietary closed-source distribution.
Quickstart
pip install git-me-the-url
from gitmetheurl import GitMeTheURL
gmtu = GitMeTheURL()
url = gmtu.get_source_url("my_git_repo/my_file.txt")
print(url)
Verify before relying
- Whether the plugin system is documented and stable enough for production use.
- Performance characteristics when handling large repositories or many concurrent URL translations.
- Whether the package handles edge cases like detached HEAD states or submodules.
Package facts
| License | LGPLv3 copyleft |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagegitpython |
| Maintenance | Aging 266 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 202,631 / month, #9,644 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Software Development :: Version Control :: Git |
Evidence: git_me_the_url-2.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “git url generator”
- git-me-the-urlConverts git repository references (file paths, commits, branches)…
- gitingestConverts Git repositories into plain-text digests optimized for…
- copierCopier is a template engine and CLI tool that generates projects from…
Give your agent the search over MCP, or paste the wish link into any chat.
More Git packages
A Poetry plugin that automatically derives and injects version numbers from version control tags into your project during builds, using Dunamai to support multiple VCS systems.
Install it if you use Poetry 1.2.0+ and want to eliminate manual version management in your build workflow.
Automatically determines your Python package's version from Git or Mercurial tags and writes it to your build system, with customizable version formatting and optional runtime file generation.
Converts written-out number words (like "twenty one") into numeric digits (21), supporting positive integers and decimals up to 999,999,999,999.
No—install only if you have a legacy codebase already using it.
Lefthook is a Git hooks manager that installs and runs custom commands automatically before or after Git operations, supporting parallel execution across Node.js, Ruby, and other project types.
Mergify CLI is a command-line tool for managing stacked pull requests, merge queues, CI test results, and scheduled freezes on GitHub, distributed as a self-contained binary with no runtime dependencies.
Provides HTTP NTLM authentication for the requests library, enabling clients to authenticate against NTLM-protected servers and proxies.
See also giturlparse · git-url-parse · git-changelog · streamlit-embedcode · LinkChecker · mkdocs-git-authors-plugin · mkdocs-git-committers-plugin-2 · mkdocs-git-revision-date-localized-plugin · mkdocs-autorefs · pulumi-gitlab