<s> from giturlparse . parser import parse as _parse <EOL> from giturlparse . result import GitUrlParsed <EOL> def parse ( url , check_domain = True ) : <EOL> return GitUrlParsed ( _parse ( url , check_domain ) ) <EOL> def validate ( url , check_domain = True ) : <EOL> return parse ( url , check_domain ) . valid </s>
