sepal_ui.scripts.utils#
All the helper function of sepal-ui.
Functions
Check if the inpupt value is initialized. |
|
Create a clickable link to download the pathname target. |
|
Transform a geojson object into a featureCollection or a Geometry. |
|
Get the current version of the a github project using the pyproject.toml file in the root. |
|
Check if the repository contains a changelog file and/or a remote release and return its content. |
|
Get the file size as string of 2 digit in the adapted scale (B, KB, MB....). |
|
Get the repository name and owner from the git config file. |
|
Hide a vuetify based component. |
|
Initialize earth engine according to the environment. |
|
Create a string followed by an underscore and a consecutive number. |
|
Normalize an str to make it compatible with file naming (no spaces, special chars ...etc). |
|
Generates a random string of fixed length. |
|
Set a config variable. |
|
Set the provided local in the sepal-ui config file. |
|
Set the provided theme in the sepal-ui config file. |
|
Return a pre-defined material colors based on the requested type_ parameter. |
|
Show a vuetify based component. |
|
Transform any color type into a color in the specified output format. |