Skip to main content

guacli

A python client (library and CLI) for the Apache Guacamole front-end REST API.

Requirements

Tested with python 3.10.2 and 3.6.9.

Install

pip install guacli

Example of use

guacli --help
guacli --url "https://example.com/guacamole" --user guacadmin create user james-smith

Upgrade

pip install --upgrade guacli

Uninstall

pip uninstall guacli

Manually install

cd /opt
git clone https://github.com/chaimeleon-eu/guacamole-python-client.git
mv guacamole-python-client/guacli/cli.py guacamole-python-client/cli
chmod +x guacamole-python-client/cli
ln -s /opt/guacamole-python-client/cli /usr/local/bin/guacli

For developers

Run without install

python -m guacli.cli --help

Test setup

Test the setup.py:

pip install --log install.log .

Uninstall with:

pip uninstall guacli

Build the package

REF: https://packaging.python.org/en/latest/tutorials/packaging-projects/

Requirements:

python -m pip install --upgrade build
python -m pip install --upgrade twine

Build:

cd guacamole-python-client
python -m build
ls dist

Two files are generated:

  • guacli-VERSION.tar-gz is the source package
  • guacli-VERSION-py3-none-any.whl is the built package

Then upload the package:

python -m twine upload dist/*

If you want to test previously, add --repository testpypi for uploading to test.pypi.org.

Release files for guacli 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guacli 1.2.1
File Size Uploaded
guacli-1.2.1.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for guacli 1.2.1
File Interpreter ABI Platform
guacli-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.4 kB

Release files / guacli-1.2.1.tar.gz

Download URL guacli-1.2.1.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
23bed41cf0d8a1e8752ea41cb82c963d38d184eeee1d36eea8b6c81880fcad23
BLAKE2b-256 checksum
How to use checksums
62ad02e443a6881e79c27a0b5490bad7a3ed14022cffd0a1186c61f293766c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release files / guacli-1.2.1-py3-none-any.whl

Download URL guacli-1.2.1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf16d2855eca3fc9af5d879d1c61d5d892846597a7c06729a5f1756063db9e98
BLAKE2b-256 checksum
How to use checksums
c99f4b43ddd4c841e497a04c8b0cdc80a40930bb906db65edd5d50bff5f19bd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page