Skip to main content

ExpressVPN python native API

Project description

Evpn

ExpressVPN python native API

Control express VPN on your machine using Native messaging protocol.

Setup
pip3 install -U evpn
Basic Usage
from evpn import ExpressVpnApi
import random

with ExpressVpnApi() as api:
    locations = api.locations # get available locations
    loc = random.choice(locations)
    api.connect(loc["id"])
Examples

random_location.py

About
  • This library is Cross Platform (Windows, Linux, MacOS are supported)
  • It talking to expressVPN daemon using native message protocol.
Development
  1. Install dependencies pip3 install .
  2. Install dev dependencies pip3 install .[dev]
  3. Lint it pylint --rcfile=.pylintrc --recursive=y .
  4. Test your changes python3 -m pytest .
  5. Make new PR 🚀
Contributing

Every contribution is welcome. If you want to contribute but are unsure where to start, any open issues are fair game!

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

evpn-1.0.3.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

evpn-1.0.3-py3-none-any.whl (6.7 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