giturlparse
A Git URL parsing module (supports parsing and rewriting)
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no dependencies, supports current Python versions, carries a permissive license, and solves a well-defined parsing problem with a clean API. It ranks in the top 1000 PyPI packages and has no known vulnerabilities. Install it if you need to parse or rewrite Git URLs in any context.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with no runtime dependencies.
- Actively maintained with a recent release (59 days ago) and ongoing commits.
- Supports Python 3.8+.
License · maintenance · safety
Apache v2 (permissive) — Licensed under Apache v2 (permissive), allowing use in most commercial and open-source projects without significant restrictions.
last release 2026-06-16 (59 days) · last repo commit 2026-08-10 · 100 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 24,316,035 downloads/mo, #921 on PyPI
Alternatives
Verify before relying
from giturlparse import parse
p = parse('git@github.com:Org/Private-repo.git')
print(p.owner, p.repo, p.url2https)- Whether the package handles all edge cases in modern Git hosting platforms (e.g., newer GitHub URL formats, Gitea, Forgejo).
- Performance characteristics when parsing large batches of URLs or unusual URL formats.
What it is and what it does
giturlparse is a lightweight URL parser for Git repository URLs that extracts structured information like platform, owner, repository name, branch, and access tokens. It supports multiple Git hosting platforms and can rewrite URLs between different protocols (SSH, HTTPS, git://).
The package exposes parsed components as attributes (platform, host, owner, repo, branch, path, etc.) and provides methods to convert between URL formats. It validates URLs and can generate alternative URLs for the same repository. With no runtime dependencies and support for Python 3.8+, it integrates easily into build tools, deployment scripts, and repository management workflows.
Use it for
- Extract repository metadata from Git URLs in CI/CD pipelines or deployment automation.
- Convert between SSH and HTTPS URLs when cloning or pushing to different Git hosts.
- Validate and parse Git remote URLs in version control tooling or Git hooks.
- Parse GitLab/GitHub URLs to extract branch names, file paths, or access tokens for programmatic access.
- Normalize Git URLs from user input in repository management or mirroring tools.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no dependencies, supports current Python versions, carries a permissive license, and solves a well-defined parsing problem with a clean API. It ranks in the top 1000 PyPI packages and has no known vulnerabilities. Install it if you need to parse or rewrite Git URLs in any context.
Install
giturlparse on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained with a recent release (59 days ago) and ongoing commits. Supports Python 3.8+.
License in practice
Licensed under Apache v2 (permissive), allowing use in most commercial and open-source projects without significant restrictions.
Quickstart
from giturlparse import parse
p = parse('git@github.com:Org/Private-repo.git')
print(p.owner, p.repo, p.url2https)
Verify before relying
- Whether the package handles all edge cases in modern Git hosting platforms (e.g., newer GitHub URL formats, Gitea, Forgejo).
- Performance characteristics when parsing large batches of URLs or unusual URL formats.
Package facts
| License | Apache v2 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 59 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 24,316,035 / month, #921 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/StableFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: giturlparse-0.15.0-py2.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 › “parse git urls”
- giturlparseParses and rewrites Git repository URLs from multiple platforms…
- git-url-parseParses Git repository URLs to extract components like host, owner,…
- mozilla-repo-urlsParses and processes Mozilla repository URLs, centralizing URL…
Give your agent the search over MCP, or paste the wish link into any chat.
Similar packages
Rewrites git repository history efficiently, replacing files, removing sensitive data, extracting subdirectories, and renaming paths across commits—faster and more capable than git filter-branch.
Converts git repository references (file paths, commits, branches) into shareable URLs for GitHub, GitLab, and Bitbucket, with a plugin system for adding other hosting sites.
Parses Git repository URLs to extract components like host, owner, and repository name, supporting both SSH and HTTPS formats.
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…
ssh-import-id fetches public SSH keys from GitHub, GitLab, or Launchpad and adds them to your authorized_keys file, eliminating manual key copying for SSH access grants.
Parse Python source code into an AST, modify it, and regenerate the original source with changes preserved—enabling refactoring operations like import rewrites and API migrations while maintaining exact formatting.
furl parses and manipulates URLs by providing a simple object-oriented interface to URL components like scheme, host, path, query arguments, and fragments.
See also query-string · streamlit-embedcode · pyfaup-rs · configparser2