Skip to main content

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!

Metadata

Release files for evpn 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evpn 1.0.3
File Size Uploaded
evpn-1.0.3.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for evpn 1.0.3
File Interpreter ABI Platform
evpn-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / evpn-1.0.3.tar.gz

Download URL evpn-1.0.3.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ad83de6c4f2a8e842a286477a24bc1644ee77fb185a23ca84ab2d067c18b71b9
BLAKE2b-256 checksum
How to use checksums
a738ef389cff06f4769ec8e1532089305c2212f77e4c6702b2aecf589eeb0f75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / evpn-1.0.3-py3-none-any.whl

Download URL evpn-1.0.3-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a00af4462d0f22b8b66575a0f12e5f75a1ff13c74cf858454f81076d157fce6
BLAKE2b-256 checksum
How to use checksums
4da564c58befb826cbf30dde258a21adabf3a48358c0d3e59d9ea1155748cd20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page