Python AirVPN Wrapper
Note: The docstrings and documentation was generated with AI. If you spot any errors I haven't caught yet, please open a PR or an issue.
A Python wrapper for AirVPN's API.
Guide
Installation
PyPI:
pip install airvpn
Locally:
git clone https://github.com/ch0nker/airvpn.git
pip install -e airvpn
Example
Without an API key:
from airvpn import AirVPN
api = AirVPN()
for server in api.status.servers:
print(server.public_name)
With an API key:
import os
from airvpn import AirVPN
from dotenv import load_dotenv
load_dotenv()
# Get your API key from https://airvpn.org/apisettings/
api = AirVPN(os.getenv("API_KEY"))
device = api.devices.get("test", create=True)
api.generator.download("AirVPN-Earth.conf", "earth", device.id)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file airvpn-0.1.11.tar.gz.
File metadata
- Download URL: airvpn-0.1.11.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5c5beddd0996d330a82265814223adde38734141b27ffade1d6455a596de5bf
|
|
| MD5 |
efc72a63ee4f54d63a65a96d0edc0d17
|
|
| BLAKE2b-256 |
3def40b9abc7a08bb41ce1552554b8fc4ba5918381d15953df2fa80502240dfa
|
Provenance
The following attestation bundles were made for airvpn-0.1.11.tar.gz:
Publisher:
python-publish.yml on ch0nker/airvpn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
airvpn-0.1.11.tar.gz -
Subject digest:
a5c5beddd0996d330a82265814223adde38734141b27ffade1d6455a596de5bf - Sigstore transparency entry: 2223780527
- Sigstore integration time:
-
Permalink:
ch0nker/airvpn@f7bd604f7279c57c93563157385375cd96656655 -
Branch / Tag:
refs/tags/0.1.11 - Owner: https://github.com/ch0nker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f7bd604f7279c57c93563157385375cd96656655 -
Trigger Event:
release
-
Statement type:
File details
Details for the file airvpn-0.1.11-py3-none-any.whl.
File metadata
- Download URL: airvpn-0.1.11-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac8b1aab0a25a560e14d954964bdfc64cab3c5a8df369bac5a0bbb0a2caa99f0
|
|
| MD5 |
8aac92931086a49d96d9c9d8640369da
|
|
| BLAKE2b-256 |
9187b82ec5cf4e255ebd6972d84e2f5372b82150034653b7f0b912af15e8f1ea
|
Provenance
The following attestation bundles were made for airvpn-0.1.11-py3-none-any.whl:
Publisher:
python-publish.yml on ch0nker/airvpn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
airvpn-0.1.11-py3-none-any.whl -
Subject digest:
ac8b1aab0a25a560e14d954964bdfc64cab3c5a8df369bac5a0bbb0a2caa99f0 - Sigstore transparency entry: 2223780601
- Sigstore integration time:
-
Permalink:
ch0nker/airvpn@f7bd604f7279c57c93563157385375cd96656655 -
Branch / Tag:
refs/tags/0.1.11 - Owner: https://github.com/ch0nker
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f7bd604f7279c57c93563157385375cd96656655 -
Trigger Event:
release
-
Statement type: