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

Uploaded Source

Built Distribution

kaomi_client-0.7.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kaomi-client-0.7.1.tar.gz
  • Upload date:
  • Size: 13.1 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.54.0 CPython/3.7.3

File hashes

Hashes for kaomi-client-0.7.1.tar.gz
Algorithm Hash digest
SHA256 e8273b933f14e574d95ad08664eed075831fe3b269e129541b8a79f9d9adc9a4
MD5 2e2318ab3bf16c9a32b7be6717d8797a
BLAKE2b-256 635289ddef769945ca2edc9d88e204880222ed28bb036c08e1cf6590f1cf20aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kaomi_client-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 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.54.0 CPython/3.7.3

File hashes

Hashes for kaomi_client-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b31f1570c24800a23c6c979eb27adefbfbed97acb76b2d70d7e17468baa555d
MD5 69d8e7c89c59bd2072882b6152452761
BLAKE2b-256 a23c26bbe01de8895e1edf8f06881e9f11d11c4f2ef99e8ad32ae1da8178d826

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