rfc3987_syntax2.is_valid_syntax_term ==================================== .. py:module:: rfc3987_syntax2.is_valid_syntax_term Attributes ---------- .. autoapisummary:: rfc3987_syntax2.is_valid_syntax_term.RFC3987_SYNTAX_TERM_VALIDATORS Functions --------- .. autoapisummary:: rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_iri rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_iri_reference rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_absolute_iri rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_scheme rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ihier_part rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_irelative_ref rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_irelative_part rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_iauthority rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_iuserinfo rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ihost rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ireg_name rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipath rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipath_abempty rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipath_absolute rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipath_noscheme rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipath_rootless rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipath_empty rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_isegment rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_isegment_nz rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_isegment_nz_nc rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipchar rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_iquery rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ifragment rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_iunreserved rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ucschar rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_iprivate rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_sub_delims rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ip_literal rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipvfuture rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipv6address rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_h16 rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ls32 rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_ipv4address rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_dec_octet rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_digit rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_unreserved rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_alpha rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_hexdig rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_port rfc3987_syntax2.is_valid_syntax_term.is_valid_syntax_pct_encoded Module Contents --------------- .. py:function:: is_valid_syntax_iri(text: str) -> bool Validate that input text conforms to the RFC 3987 ``IRI`` rule. .. py:function:: is_valid_syntax_iri_reference(text: str) -> bool Validate that input text conforms to the RFC 3987 ``IRI-reference`` rule. .. py:function:: is_valid_syntax_absolute_iri(text: str) -> bool Validate that input text conforms to the RFC 3987 ``absolute-IRI`` rule. .. py:function:: is_valid_syntax_scheme(text: str) -> bool Validate that input text conforms to the RFC 3987 ``scheme`` rule. .. py:function:: is_valid_syntax_ihier_part(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ihier-part`` rule. .. py:function:: is_valid_syntax_irelative_ref(text: str) -> bool Validate that input text conforms to the RFC 3987 ``irelative-ref`` rule. .. py:function:: is_valid_syntax_irelative_part(text: str) -> bool Validate that input text conforms to the RFC 3987 ``irelative-part`` rule. .. py:function:: is_valid_syntax_iauthority(text: str) -> bool Validate that input text conforms to the RFC 3987 ``iauthority`` rule. .. py:function:: is_valid_syntax_iuserinfo(text: str) -> bool Validate that input text conforms to the RFC 3987 ``iuserinfo`` rule. .. py:function:: is_valid_syntax_ihost(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ihost`` rule. .. py:function:: is_valid_syntax_ireg_name(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ireg-name`` rule. .. py:function:: is_valid_syntax_ipath(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ipath`` rule. .. py:function:: is_valid_syntax_ipath_abempty(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ipath-abempty`` rule. .. py:function:: is_valid_syntax_ipath_absolute(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ipath-absolute`` rule. .. py:function:: is_valid_syntax_ipath_noscheme(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ipath-noscheme`` rule. .. py:function:: is_valid_syntax_ipath_rootless(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ipath-rootless`` rule. .. py:function:: is_valid_syntax_ipath_empty(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ipath-empty`` rule. .. py:function:: is_valid_syntax_isegment(text: str) -> bool Validate that input text conforms to the RFC 3987 ``isegment`` rule. .. py:function:: is_valid_syntax_isegment_nz(text: str) -> bool Validate that input text conforms to the RFC 3987 ``isegment-nz`` rule. .. py:function:: is_valid_syntax_isegment_nz_nc(text: str) -> bool Validate that input text conforms to the RFC 3987 ``isegment-nz-nc`` rule. .. py:function:: is_valid_syntax_ipchar(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ipchar`` rule. .. py:function:: is_valid_syntax_iquery(text: str) -> bool Validate that input text conforms to the RFC 3987 ``iquery`` rule. .. py:function:: is_valid_syntax_ifragment(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ifragment`` rule. .. py:function:: is_valid_syntax_iunreserved(text: str) -> bool Validate that input text conforms to the RFC 3987 ``iunreserved`` rule. .. py:function:: is_valid_syntax_ucschar(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ucschar`` rule. .. py:function:: is_valid_syntax_iprivate(text: str) -> bool Validate that input text conforms to the RFC 3987 ``iprivate`` rule. .. py:function:: is_valid_syntax_sub_delims(text: str) -> bool Validate that input text conforms to the RFC 3987 ``sub-delims`` rule. .. py:function:: is_valid_syntax_ip_literal(text: str) -> bool Validate that input text conforms to the RFC 3987 ``IP-literal`` rule. .. py:function:: is_valid_syntax_ipvfuture(text: str) -> bool Validate that input text conforms to the RFC 3987 ``IPvFuture`` rule. .. py:function:: is_valid_syntax_ipv6address(text: str) -> bool Validate that input text conforms to the RFC 3987 ``IPv6address`` rule. .. py:function:: is_valid_syntax_h16(text: str) -> bool Validate that input text conforms to the RFC 3987 ``h16`` rule. .. py:function:: is_valid_syntax_ls32(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ls32`` rule. .. py:function:: is_valid_syntax_ipv4address(text: str) -> bool Validate that input text conforms to the RFC 3987 ``IPv4address`` rule. .. py:function:: is_valid_syntax_dec_octet(text: str) -> bool Validate that input text conforms to the RFC 3987 ``dec-octet`` rule. .. py:function:: is_valid_syntax_digit(text: str) -> bool Validate that input text conforms to the RFC 3987 ``DIGIT`` rule. .. py:function:: is_valid_syntax_unreserved(text: str) -> bool Validate that input text conforms to the RFC 3987 ``unreserved`` rule. .. py:function:: is_valid_syntax_alpha(text: str) -> bool Validate that input text conforms to the RFC 3987 ``ALPHA`` rule. .. py:function:: is_valid_syntax_hexdig(text: str) -> bool Validate that input text conforms to the RFC 3987 ``HEXDIG`` rule. .. py:function:: is_valid_syntax_port(text: str) -> bool Validate that input text conforms to the RFC 3987 ``port`` rule. .. py:function:: is_valid_syntax_pct_encoded(text: str) -> bool Validate that input text conforms to the RFC 3987 ``pct-encoded`` rule. .. py:data:: RFC3987_SYNTAX_TERM_VALIDATORS :type: dict[str, rfc3987_syntax2.T_SYNTAX_VALIDATOR] Mapping from syntax term to validator. Allowed keys are the RFC3987 term literals (see :data:`RFC3987_SYNTAX_TERMS`).