Wrapper for wg-easy API
Project description
wg-easy-api-wrapper
Python module for convenient interaction with the application API wg-easy
You can see all the methods in the documentation on GitHub
Usage
A quick example of creating a client:
async with Server("wg.example.com", 51821, "SuPerSecret_pass") as server:
await server.create_client("client_name")
Or a slightly more complicated way:
async with aiohttp.ClientSession() as session:
server = Server("wg.example.com", 51821, "SuPerSecret_pass", session)
await server.login()
await server.create_client("client_name")
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
wg-easy-api-wrapper-1.0.6.tar.gz
(15.6 kB
view hashes)
Built Distribution
Close
Hashes for wg-easy-api-wrapper-1.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c3e529fd9f5c9e40406f37ad8f3cc22179f7a45df81904b99ebd8b6dc70deca |
|
MD5 | 689fe0af9b969775f5b1f757ab58af55 |
|
BLAKE2b-256 | 2a43335b3465b3bd4c324f771e25afc7ca76a92b875663dbe5074709223712d6 |
Close
Hashes for wg_easy_api_wrapper-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26b7885609f82f48828d299217ed1029180052d677f90fcad5bfe2357766c44a |
|
MD5 | 7d9e8887df28d9cd34abc8caff6b2480 |
|
BLAKE2b-256 | be9a377f5e09f250ea14dc54490f5045809dca8dbd225311a25d3b046171b360 |