A Python package that allows for simple interactions with Apache Guacamole REST API as a wrapper
Project description
Guacamole Wrapper Package
This is a simple package that allows you to take advantage of all currently available REST API calls within Apache Guacamole.
Overview
This package creates a class named session
allowing you to interact
with the REST API for Apache Guacamole in various ways. Full capabilities
include:
- Generating and Deleting your REST API Auth token
- Users & UserGroups
list, create, update, delete - Connection & ConnectionGroups
list, create, update, delete - List Schema Info
list - Sharing Profiles
list, create, delete
Work in Progress
- Code Enhancements
- CI/CD for auto deployment
Install
pip install guacamole-api-wrapper
Usage
The overall usage capabilities of this module are extensive, I would recommend you leverage a good ide that can show all available functions and arguments. I tried to ensure each function has a basic comment and I have tested all functionality, but am always looking for ways to break it in order to improve it.
Initial Module Import:
import guacamole
Defining session arguments and then list users
syntax:
guacamole.session("https://{guacamole_base_url}", "{datasource}", "{username}", "{password}")
example:
session = guacamole.session("https://web.app/guacamole", "mysql", "guacadmin", "guacadmin")
session.list_users()
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
Built Distribution
Hashes for guacamole-api-wrapper-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7abf5a03d688fe3322aab9c1c45517b085c4123745f8c0a2358b18197bec9749 |
|
MD5 | 268164b4b5d90bedc85845b2262fa1d2 |
|
BLAKE2b-256 | 7b06923c4387ea531f8e7b18bcc66e363cb1fbfc4f6ed66f6e6474395bcb90c7 |
Hashes for guacamole_api_wrapper-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba021d4f7457fd4d6a714a17eb92aad2ab1413a1257bdfcb0ec5ad2d9f92ad5f |
|
MD5 | 061dd619e9472efe5dfb7e46e666587f |
|
BLAKE2b-256 | 37162970e6abf3c28993b77349d47b8660db5ac382e7c54fdde9407bb140f047 |