evpn-1.0.3
توضیحات
ExpressVPN python native API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | evpn-1.0.3 |
| نام | evpn |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | thewh1teagle |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/evpn/ |
| مجوز | - |
# Evpn
ExpressVPN python native API
Control [express VPN](https://www.expressvpn.com/vpn-software) on your machine using [Native messaging](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging) protocol.
##### Setup
```shell
pip3 install -U evpn
```
##### Basic Usage
```python
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](https://github.com/thewh1teagle/Evpn/blob/main/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!
نیازمندی
| مقدار | نام |
|---|---|
| - | psutil |
| xtr | pytest; |
| xtr | twine; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl evpn-1.0.3:
pip install evpn-1.0.3.whl
نصب پکیج tar.gz evpn-1.0.3:
pip install evpn-1.0.3.tar.gz