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 | 47000 |
| -d | --directory | path local dir, path remote dir | - | - |
| -dr | --directory-regex | path local dir, path remote dir, regex | - | - |
| -f | --file | path local file, path remote file | - | - |
| -a | --action | action name | - | - |
| -x | --delete | filesystem node (file or dir) | - | - |
| -xr | --delete-regex | filesystem nodes (file or dir) based on regex match | - | - |
| -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 |
| -nt | --node-type | node types to act upon when using regex operations, can be 'file', 'folder' or 'both' | no | both |
| -is | --include-subdirs | specifies whether to include subdirectories when using regex deletion, can't be used for regex upload | no | no |
| -i | --inverted | specifies whether to act upon the not matching files/folders instead of the matching ones when using regex operations | no | no |
| -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
-vis specified, one line for file uploaded) - Error: error message
- Success: no output (if
-
Custom actions execution
- Successo: no output (if
-vis 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.7.2.tar.gz
(13.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kaomi-client-0.7.2.tar.gz.
File metadata
- Download URL: kaomi-client-0.7.2.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dda481f49289cf4c6b3c471320618456929dada853c2aa6ecdc8328ec6a931f
|
|
| MD5 |
00b13ca264f737ec4c01c830044e7274
|
|
| BLAKE2b-256 |
ac96ed294d31703e55ee777065ce6e91bf0e0c588b080d5261be317b96bc5f54
|
File details
Details for the file kaomi_client-0.7.2-py3-none-any.whl.
File metadata
- Download URL: kaomi_client-0.7.2-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6d1ab9191bfdfaa346e6d88831007ee48fd3b13e38d61468abd34352461c180
|
|
| MD5 |
4e9b21fd2f89534776826ac5ed09916e
|
|
| BLAKE2b-256 |
d86c4e83374b1b4442834733e6f395ff9b0508a272e7d0d7916d3eb6d92e74af
|