Skip to main content

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 = Success
  • 1 = 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
  • Custom actions execution

    • Successo: no output (if -v is specified, the action output is show)
    • Error: error message

Project details


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.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

kaomi_client-0.7.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file kaomi-client-0.7.0.tar.gz.

File metadata

  • Download URL: kaomi-client-0.7.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.3

File hashes

Hashes for kaomi-client-0.7.0.tar.gz
Algorithm Hash digest
SHA256 1fc06dec48b35bb33fa515c02b59480f4c0335b4aaffadcdc979bb722e5a8c29
MD5 0b401fdd3631fbf821409d50291dabad
BLAKE2b-256 f5057dfb1e5a09a019edcd31ac0356ddcb61b8a866c7182ecee755786bb2a160

See more details on using hashes here.

File details

Details for the file kaomi_client-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: kaomi_client-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.3

File hashes

Hashes for kaomi_client-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9d1fa555f5f227af67f1c221ee336bf26ba9361fddd495b64e6a5c301546f8f
MD5 1c0d1c6a05cce5812ed906d62115aa05
BLAKE2b-256 372381f63a2f5fd38f6963dc42ec636f693b0e47e2eb88f458205ecc58502f9a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page