--- id: git-url-parse version: "1.2.2" license: unclear license_treatment: permissive maintenance: aging --- # git-url-parse — git-url-parse - A simple GIT URL parser. License: permissive · Maintenance: aging · Downloads: 252.2K/mo ## What it is and what it does git-url-parse is a lightweight utility for parsing Git repository URLs into their component parts. It handles both SSH (git@host:owner/repo.git) and HTTPS (https://host/owner/repo.git) formats, extracting the host, owner, and repository name for programmatic use. The package depends only on pbr and installs with minimal friction. The package is in beta status and has not been actively maintained since 2019, though the repository remains public. It is suitable for simple URL parsing tasks in applications that need to extract Git repository metadata, but users should verify compatibility with their specific Git hosting providers and be aware of the two known security vulnerabilities before deploying to production. Use it for: - Extract repository metadata from Git URLs in deployment or CI/CD scripts - Parse user-provided Git repository URLs in web applications to validate and normalize them - Automate Git repository cloning by extracting host and path components from URLs - Build tools that need to identify repository owners or names from remote URLs ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Parses Git repository URLs to extract components like host, owner, and repository name, supporting both SSH and HTTPS formats. Yes, with caution. The package solves a narrow, well-defined problem with low install friction. However, the lack of maintenance since 2019, the presence of two known vulnerabilities, and the aging status mean you should verify the vulnerabilities do not affect your use case and test thoroughly before production deployment. For simple, non-security-critical URL parsing, it remains viable; for security-sensitive applications, consider whether an actively maintained alternative exists. ## Install pip install git-url-parse uv add git-url-parse poetry add git-url-parse ## Installing git-url-parse Before you install: Low install friction with a single lightweight dependency (pbr). However, the package is aging—last release was 2019-03-23 and no commits since 2025-10-15, suggesting limited active maintenance despite the repository not being archived. License in practice: MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions. Quickstart: pip install git-url-parse from git_url_parse import GitUrlParse url = GitUrlParse('git@github.com:user/repo.git') print(url.host, url.owner, url.repo) Verify before relying: - Whether the package handles all modern Git hosting providers (GitHub, GitLab, Gitea, etc.) or only a subset - Whether the two known vulnerabilities (GHSA-4xqq-73wg-5mjp, PYSEC-2026-1404) affect this version or have been patched - Whether Python 2.7 support is still functional or if the package is effectively Python 3 only in practice ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: aging - Downloads: 252.2K/month (top 15,000 on PyPI) - Known vulnerabilities: 2 ## Tags git url parser, parse git repository url, extract git remote url, git ssh https url parse, github gitlab url components, git-utilities, url-parsing [View on SkillFed](https://skillfed.io/packages/git-url-parse) · [View on PyPI](https://pypi.org/project/git-url-parse/)