Reference¶
Errors¶
A goalie check failed. |
|
A value has the wrong type. |
|
A value has the right type but an unacceptable value. |
Collection and string checks¶
Check whether x and y contain the same elements, ignoring order. |
|
Check whether the input has duplicate elements. |
|
Check whether the input is a hexadecimal color code. |
|
Check whether the string matches a regex pattern. |
|
Check whether x is a subset of y. |
Filesystem and URL checks¶
Check filesystem access rights. |
|
Check whether the input contains an AWS S3 URI. |
|
Check whether the input is a compressed file. |
|
Check whether an AWS S3 URI exists (object is accessible). |
|
Check whether the URL exists (is accessible). |
|
Check whether the input is a git repository. |
|
Check whether the input is a file inside the system temp directory. |
|
Check whether the input contains a URL. |
System checks¶
Check whether the machine has at least n CPU cores. |
|
Check whether a GitHub PAT is set in the environment. |
|
Check whether an internet connection is available. |
|
Check whether the machine has at least n GB of RAM. |
|
Check whether a conda environment is active. |
|
Check whether the session is running inside Docker. |
|
Check whether a Python package is installed (importable). |
|
Check whether the OS is Linux. |
|
Check whether the OS is macOS. |
|
Check whether an installed package satisfies a version constraint. |
|
Check whether a system command is available on PATH. |
|
Check whether the OS is Unix-based (Linux or macOS). |
|
Check whether the session is running inside VS Code. |
|
Check whether the OS is Windows. |