Python wrapper of openvpn.
pip install py-openvpn==0.1.5
The local openvpn configuration files will be stored at ~/.py-openvpn/APP_NAME/
.
~/.py-openvpn/APP_NAME/auth.conf
~/.py-openvpn/APP_NAME/vpnconf.conf
Initialize the class instance with your application context.
from pyopenvpn import PyOpenVPN
client = PyOpenVPN('APP_NAME')