Cli
Teledetection package Command Line Interface.
apikey(ctx, operation, argument)
¶
Manage API keys.
Other operations: list : List all available API keys
Operations on locally-stored key: register : Register a new key remove : Remove a key provided in argument
Manually input keys: create : Create a new API key revoke : Revoke a specific key revoke-all : Revoke all keys
Source code in teledetection/cli.py
collection_diff(stac_endpoint, col_path, remote_id='')
¶
List collection items.
Source code in teledetection/cli.py
delete(stac_endpoint, col_id, item_id)
¶
Delete a STAC object (collection or item).
Source code in teledetection/cli.py
do_create_key(description)
¶
do_list_keys()
¶
List all generated API keys.
Source code in teledetection/cli.py
do_register_key(description)
¶
Create and store a new API key.
do_remove_key(dont_revoke)
¶
do_revoke_all_keys()
¶
do_revoke_key(access_key)
¶
do_sign_file(filepath)
¶
do_sign_qgz(filepath)
¶
Sign all URLs in the provided QGIS project file (modified in place).
do_sign_url(url)
¶
edit(stac_endpoint, col_id, item_id)
¶
Edit a STAC object (collection, or item).
Source code in teledetection/cli.py
grab(stac_endpoint, col_id, item_id, _sign, pretty, out_json)
¶
Grab a STAC object (collection, or item) and save it as .json.
Source code in teledetection/cli.py
list_col_items(stac_endpoint, col_id, max_items, _sign)
¶
List collection items.
Source code in teledetection/cli.py
list_cols(stac_endpoint)
¶
List collections.
Source code in teledetection/cli.py
publish(stac_obj_path, stac_endpoint, storage_endpoint, storage_bucket, overwrite, keep_cog_dir)
¶
Publish a STAC object (collection or item collection).
Source code in teledetection/cli.py
sign(ctx, operation, argument)
¶
Sign HREFs.
Operations: url : Sign an URL file : Sign all URLs in the provided file (modified in place) qgis : Sign all URLs of a QGIS project file (modified in place)