url (3)
fsspec_url¶
fsspec_url(string: str | os.PathLike[str]) -> bool
Returns true if the given URL looks like an fsspec protocol, except http/https.
DocStrings
Parameters:
Name | Type | Description | Default |
---|---|---|---|
string
|
str | PathLike[str]
|
The URL to check |
required |
Source code in src/jinjarope/envtests.py
153 154 155 156 157 158 159 160 161 162 163 |
|
http_url¶
http_url(string: str) -> bool
Return true when given string represents a HTTP url.
DocStrings
Parameters:
Name | Type | Description | Default |
---|---|---|---|
string
|
str
|
The string to check |
required |
Source code in src/jinjarope/envtests.py
105 106 107 108 109 110 111 |
|
url¶
url(string: str) -> bool
Return true when given string represents any type of URL.
DocStrings
Parameters:
Name | Type | Description | Default |
---|---|---|---|
string
|
str
|
The string to check |
required |
Source code in src/jinjarope/envtests.py
114 115 116 117 118 119 120 |
|