WireGuard Manager (wgm)
WireGuard Manager (wgm) is a command-line tool designed to simplify the management of WireGuard VPN users. It allows you to easily create, list, and delete WireGuard users with a few simple commands.
Installation
From Source
To install WireGuard Manager (wgm) from source, follow these steps:
-
Clone the repository:
git clone https://github.com/rlizana/wgm.git cd wgm
-
Install the dependencies using Poetry:
poetry install -
Install the package globally:
poetry build pip install dist/*.whl
This will allow you to call wgm from anywhere in the console.
As a Package
To install WireGuard Manager (wgm) as a package, you can use pip:
pip install wgm
Usage
To use the WireGuard Manager, follow these steps:
-
Activate the virtual environment:
poetry shell -
Run the application:
python main.py
Building the package
To build the package, follow these steps:
poetry build
Launch unit tests
To install the necessary dependencies for running unit tests with unittest, follow these steps:
Install the development dependencies:
bash poetry install --with dev poetry run pre-commit install
Run the unit tests:
bash python -m unittest discover tests
Or you can run the command
poetry run python -m wgm
Metadata
Release files for wgm 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wgm-0.1.6.tar.gz | 18.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wgm-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.4 kB
Release files / wgm-0.1.6.tar.gz
| Download URL | wgm-0.1.6.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f2f76008516192aed67f9964388a2d62fba941b12755d7838a5e0e1bb3f5ca6
|
|
BLAKE2b-256 checksum How to use checksums |
df55600ee121f58113bc2a691e4ba7ef2a26a3e43d7ee3244b9a1ccfc1b88a99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.7 Linux/6.11.0-12-generic
|
Release files / wgm-0.1.6-py3-none-any.whl
| Download URL | wgm-0.1.6-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aad55f90cc18e73e74e96a6ba275cb93791bdf5fb6fd37be564bd1a3f3d34f41
|
|
BLAKE2b-256 checksum How to use checksums |
91cf3615f7b7f8b7b4eb93c3256939259e1c9bc64a190143f8a9a398a81fe310
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.7 Linux/6.11.0-12-generic
|