value: URL string to validate. skip_ipv6_addr: When URL string cannot contain an IPv6 address. skip_ipv4_addr: When URL string cannot contain an IPv4 address. may_have_port: URL string may contain port number. simple_host: URL string maybe only hyphens and alpha-numerals. rfc_1034: Allow trailing dot in domain/host name. Ref: [RFC 1034](https://www.rfc-editor.org/rfc/rfc1034). rfc_2782: Domain/Host name is of type service record. Ref: [RFC 2782](https://www.rfc-editor.org/rfc/rfc2782). Returns: (Literal[True]): If `value` is a valid slug. (ValidationError): If `value` is an invalid slug. Note: - *In version 0.11.3*: - Added support for URLs containing localhost. - *In version 0.11.0*: - Made the regular expression case insensitive. - *In version 0.10.3*: - Added a `public` parameter. - *In version 0.10.2*: - Added support for various exotic URLs. - Fixed various false positives. > *New in version 0.2.0*. z