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.3.tar.gz
(15.5 kB
view hashes)
Built Distribution
Close
Hashes for wg-easy-api-wrapper-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f8cf95b24aa70084d39f6ccc6e7b2637417e092d3386f95b2962d56151e0d03 |
|
MD5 | ccabbd93c09c5e9483f63149bf562850 |
|
BLAKE2b-256 | 8facec985bc2f290581a23a136484f94d4cf0b452567985942b9688893dd3e7f |
Close
Hashes for wg_easy_api_wrapper-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e8140fa150a5087676b0aa4dbcf61106b2005c541bc5ca30ec17d7293678ac |
|
MD5 | 2986126547d4185bb1e9abcf2dd9bf4b |
|
BLAKE2b-256 | 76fa6c902be7bf31f65ad6fb5b92f64a79095b1077e38e19b788004b7159d368 |