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 details)

Uploaded Source

Built Distribution

evpn-1.0.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file evpn-1.0.3.tar.gz.

File metadata

  • Download URL: evpn-1.0.3.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for evpn-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ad83de6c4f2a8e842a286477a24bc1644ee77fb185a23ca84ab2d067c18b71b9
MD5 844a0faf0ba5dc47177fc3eeff5863da
BLAKE2b-256 a738ef389cff06f4769ec8e1532089305c2212f77e4c6702b2aecf589eeb0f75

See more details on using hashes here.

File details

Details for the file evpn-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: evpn-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for evpn-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a00af4462d0f22b8b66575a0f12e5f75a1ff13c74cf858454f81076d157fce6
MD5 75c36ab21a16a627e4707f14837b1d87
BLAKE2b-256 4da564c58befb826cbf30dde258a21adabf3a48358c0d3e59d9ea1155748cd20

See more details on using hashes here.

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