This package contains the client endpoint for the Kaomi deployer. Kaomi client has to be run on the deployer system.
Project description
Kaomi Client
This package is the client for KAOMI Deployer.
Command line parameters
python -m kaomi_client <ARGS>
ARGS
can be:
id | id extended | arg[s] | mandatory | default |
---|---|---|---|---|
-k | --key | apikey | yes | - |
-s | --server | server with Kaomi deployer | yes | - |
-p | --port | port of kaomi service | no | ?? |
-d | --directory | path local dir, path remote dir | - | - |
-f | --file | path local file, path remote file | - | - |
-a | --action | action name | - | - |
-x | --delete | filesystem node (file or dir) | - | - |
-dp | --dir-perms | permissions for directories | no | remote folders' ones |
-fp | --file-perms | permissions for files | no | remote files' ones |
-o | --overwrite | overwrite flag for dirs and file | no | no overwrite |
-v | --verbose | verbose output | no | non-verbose output |
Output
Status codes
0
= Success1
= Local error (eg. local file to be uploaded does not exist, etc.)2
= Remote error: comunication (eg. server not reachable, connnection refused, timeout, etc.)3
= Remote error: authorization (eg. remote folder not writable, bad custom action, invalid api key, etc.)4
= Remote error: application (eg. errors specific to the action that is being executed)
Stdout
Client console output:
-
Operations on files/folders
- Success: no output (if
-v
is specified, one line for file uploaded) - Error: error message
- Success: no output (if
-
Custom actions execution
- Successo: no output (if
-v
is specified, the action output is show) - Error: error message
- Successo: no output (if
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kaomi-client-0.1.2.tar.gz
(10.1 kB
view details)
Built Distribution
File details
Details for the file kaomi-client-0.1.2.tar.gz
.
File metadata
- Download URL: kaomi-client-0.1.2.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b575b74a48998f2fe6bf1af8a1682a673107e973b13d233757b2222e7d2a1d89 |
|
MD5 | 517158d91f5d893a3b21171d145622c1 |
|
BLAKE2b-256 | 884f72acbb9175911400d7b89a7787924a6485e8d3c765b022af5bd257b9d479 |
File details
Details for the file kaomi_client-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: kaomi_client-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6651160bff77c0aabde53466f7acd8255b9317186a0aeeac948b5e93ca607367 |
|
MD5 | 41e57cf5adc701639eafe5f6d098a43d |
|
BLAKE2b-256 | 3a946b36c4270c6410d29fb676c4e5e74127375f1118a327d35a17e639e6e841 |