pivpnpy 0.0.1

Last updated:

0 purchases

pivpnpy 0.0.1 Image
pivpnpy 0.0.1 Images
Add to Cart

Description:

pivpnpy 0.0.1

Description
A thin python wrapper for pivpn
Installation
###From pypi
pip3 install pivpnpy

###From this git repo:
# Ensure you have setuptools >= 21.3
python3 -m pip install --upgrade pip

git clone https://github.com/m00ninite/pivpnpy.git
cd pivpnpy
python3 -m pip install -e .

Usage
from pivpnpy import pivpn

# Create a user
pivpn.create_profile(user="Hello_World", ttl=1080)

# List users
profiles = pivpn.list_profiles()
print(profiles[0]['status']) # Prints "Valid"

# Delete a user
pivpn.delete_profile(user="Hello_World")

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.