pivpnpy 0.0.1

Creator: railscoder56

Last updated:

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.