Skip to main content

Guacamole command line interface

A command line interface for https://github.com/Antojitos/guacamole

Tested with Python 2.7 and 3.4

https://travis-ci.org/Antojitos/guacamole-cli.svg?branch=master

Install

$ pip install guacamole-cli

Usage

Uploading a file

To upload a file you need to specify your Guacamole server URL and a filename, for example:

$ guacamole screenshot.jpg
http://guacamole.antojitos.io/files/TRPm/0lkq/6egk/yHgg/OeDg/fVHr/screenshot.jpg

Command options

Use --help to show the command options:

$ guacamole --help
usage: guacamole [-h] [-c CONFIG_FILE] [-e ENDPOINT] [-s SHORTENER] filename

positional arguments:
  filename              file to upload

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG_FILE, --config-file CONFIG_FILE
                        Specify a configuration file
  -e ENDPOINT, --endpoint ENDPOINT
                        Guacamole endpoint URL
  -s SHORTENER, --shortener SHORTENER
                        Tamales endpoint URL

Configuration file

By default the command line interface looks for a configuration file in ~/.guacamole.conf. You can also specify an alternative configuration file using the --config-file command line option.

Here’s an example:

[general]
endpoint = http://guacamole.antojitos.io/files/

# an empty value disable the URL shortener service
shortener = http://t.antojitos.io/api/v1/urls

Tests

In order to execute the test suite you need to run the next commands:

pip install -r requirements-dev.txt
python tests/main.py

Metadata

Release files for guacamole-cli 0.3.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 guacamole-cli 0.3.1
File Size Uploaded Provenance
guacamole-cli-0.3.1.tar.gz 3.3 kB Without provenance Details

Release files / guacamole-cli-0.3.1.tar.gz

Download URL guacamole-cli-0.3.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
30049e8cb4cacffc6d6b7765e61261f9b8f07fe462dff3457bb9d7d9b3075901
BLAKE2b-256 checksum
How to use checksums
3abc3edb523b74c48065dc44dd19690bbd2284f41f34cb0f5eb07a193a4489a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for guacamole-cli 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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