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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e96d542734a7ddb144f9beafc0a2ed1ec0dc5f82020974ec134274b93b26473 |
|
MD5 | 104c1eb3d2b77bb529b214146ba98167 |
|
BLAKE2b-256 | f1d8658482610a3877f85acaeead8d3d80d99ad49a1b6adced9025e7a7ba73a1 |
Hashes for guacamole_api_wrapper-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e76c77b135174813e5d229a5b92ca5f2ddaae96548868384e00f8882f5d1014 |
|
MD5 | 24a6982079fc68c71461b0d53e0bac05 |
|
BLAKE2b-256 | 8c86c1a8ca4be241b1ef88dc1b35724e2fbd0475ade4b8554c97e816af6e5a6b |