Skip to main content

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.

Project description

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:

  1. Clone the repository:

    git clone https://github.com/rlizana/wgm.git
    cd wgm
    
  2. Install the dependencies using Poetry:

    poetry install
    
  3. 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:

  1. Activate the virtual environment:

    poetry shell
    
  2. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wgm-0.1.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wgm-0.1.1-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file wgm-0.1.1.tar.gz.

File metadata

  • Download URL: wgm-0.1.1.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.11.0-12-generic

File hashes

Hashes for wgm-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1386ef80f126f36d10e807279713c258a12e2ea09712037c38f0d71864146a54
MD5 b744916416c3b7513cfae9273d4f5b46
BLAKE2b-256 c264fb35a1cac3d3b628bfc23adbda6f1654de9a4743bea9013a8d5a6e6841a1

See more details on using hashes here.

File details

Details for the file wgm-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: wgm-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.11.0-12-generic

File hashes

Hashes for wgm-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 593c97cd7ae7a51474abc8dd04dea1332f90c5ffebb9b651b155ca737eaca6d9
MD5 7e7358eacdcfc6152c0c596a6c52179e
BLAKE2b-256 2621c5b4162d0a68aeb9082d2c969aed0292a0b42995bcb96d11f70fdf6f2f1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page