Skip to main content

A python wrapper for controlling Wireguard

Project description

Python Wireguard interface

Library for controlling Wireguard using python.

Installation

To install this package, use pip:

pip install python_wireguard

Security remark

Changing network interface settings, and interacting with Wireguard, is only possible as the root user by default.

Usage

To do

Generate key pair

import python_wireguard as wg
private, public = wg.key_pair()

print(wg.key_to_base64(public))

Server

To do.

Client

To do.

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

python_wireguard-0.1.2.tar.gz (56.1 kB view hashes)

Uploaded Source

Built Distribution

python_wireguard-0.1.2-py3-none-any.whl (56.1 kB view hashes)

Uploaded Python 3

Supported by

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