Skip to main content

A cli utility for interactively modifying wireguard servers.

Project description

wg-interactive

Upload Python Package

wg-interactive is a command line tool for initializing WireGuard server configuration files as well as adding and deleting peers interactively.

Installation

Install the module from PyPI:

pip install wg-interactive

Usage

Launch wg-interactive via the included command wg-interactive.

usage: wg-interactive [-h] [-l {critical,fatal,error,warn,info,debug}] [-d DIRECTORY]

An interactive command line tool for modifying and initializing WireGuard server configuration files and adding/deleting peers.

options:
  -h, --help            show this help message and exit
  -l {critical,fatal,error,warn,info,debug}, --logging {critical,fatal,error,warn,info,debug}
                        Set the log level (default: info)
  -d DIRECTORY, --directory DIRECTORY
                        WireGuard config directory (default: /etc/wireguard)

Build and install

Initialize a local python virtual environment:

mkdir .venv
pipenv install

Then build the package:

pipenv shell
python -m build

License Attribution

This application uses Open Source components. You can find the source code of their open source projects along with license information below. We acknowledge and are grateful to these developers for their contributions to open source.

WireGuard is a registered trademark of Jason A. Donenfeld.

wgconfig

termcolor

  • Copyright (c) 2008-2011 Volvox Development Team.
  • MIT license

netifaces-2

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

wg_interactive-0.5.2.tar.gz (25.3 kB view details)

Uploaded Source

Built Distribution

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

wg_interactive-0.5.2-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file wg_interactive-0.5.2.tar.gz.

File metadata

  • Download URL: wg_interactive-0.5.2.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wg_interactive-0.5.2.tar.gz
Algorithm Hash digest
SHA256 0a257bc331b622db7e829d21cb4ad64eaf9db58177e5afcc99c0c41c47385cfe
MD5 d7116b389d6539bdd0d9124bf0798b32
BLAKE2b-256 44626bc15422e45a2b59282f073aa58687966eab2e0c4996f7d7accf454bcaed

See more details on using hashes here.

Provenance

The following attestation bundles were made for wg_interactive-0.5.2.tar.gz:

Publisher: python-publish.yml on das-kaesebrot/wg-interactive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wg_interactive-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: wg_interactive-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wg_interactive-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 00b73653a401cbaf02fd6cffbb05e8ed2adbd9a17d1dddfc4dd7cc64ab1abb23
MD5 85cec145710a6d27484f948b26958ed8
BLAKE2b-256 87641182d8b7b98dc1af05cb9e7f0bef56a9b710a8ecda209349f7109eb854be

See more details on using hashes here.

Provenance

The following attestation bundles were made for wg_interactive-0.5.2-py3-none-any.whl:

Publisher: python-publish.yml on das-kaesebrot/wg-interactive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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