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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d76a61755e45667e07f1b00942585aeb36569219b8d2c966748efa8db088fc65 |
|
MD5 | eeb8e0d5883782e83e839977912b4e31 |
|
BLAKE2b-256 | ecd4be57274a5398242499e014900b4e2e3bc3e3e073121bc1f3be4fd4426755 |
Hashes for guacamole_api_wrapper-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e662228a04b4aabb2fbd89bffdf93de6c8c2985a1835569c2d64667f870cec87 |
|
MD5 | 612b94b6b96c431a686229efac350e8f |
|
BLAKE2b-256 | cbdb39d578c54396ace70a166fd860689c8b0c6ab5e659866eec08741d5f4137 |