Framework: Add and extend URL parsers - libvcs.url.base¶

Foundational tools to detect, parse, and validate VCS URLs.

class libvcs.url.base.URLProtocol
¶

Bases: Protocol

Common interface for VCS URL Parsers.

class libvcs.url.base.Rule
¶

Bases: SkipDefaultFieldsReprMixin

A Rule represents an eligible pattern mapping to URL.

class libvcs.url.base.RuleMap
¶

Bases: SkipDefaultFieldsReprMixin

Pattern matching and parsing capabilities for URL parsers, e.g. GitURL.