A package for interacting with the mullvad cli api
Project description
A simple Python Based Mullvad Interface.
Using commandline utils for interacting and using vpn
How to use?
from mullvad import MullvadCLI, AccountNotFound
connector = MullvadCLI()
###
try:
connector.account_info()
except AccountNotFound:
### This means you aren't signed in
connector.login(<Token>)
connector.connect() # Initialize the connection, will raise the AccountNotFound if you are not logged in.
connector.status() # Updates the status, it can report the wrong information if you call to soon after disconnecting/connecting
connector.disconnect() # Deconnect from the relay
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
mullvad-0.1.4.tar.gz
(16.6 kB
view details)
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
mullvad-0.1.4-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file mullvad-0.1.4.tar.gz.
File metadata
- Download URL: mullvad-0.1.4.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94ff78c28168ec751ea347e42adc37a39fecdbcfbcb73e877ca8ab8ad2b8474a
|
|
| MD5 |
1594a7884d7645ec9e589ec8ba7d7408
|
|
| BLAKE2b-256 |
24593943c7b610a8df51ce3062ee307d537766d8e2808e33fc354e35e8dea1b8
|
File details
Details for the file mullvad-0.1.4-py3-none-any.whl.
File metadata
- Download URL: mullvad-0.1.4-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30c458bd92e0b4ecbfeae95ee15d01363c280fc94c2c856aebb805ab74e5dbf4
|
|
| MD5 |
309a9bd06f8c0ddad99be189ab23a163
|
|
| BLAKE2b-256 |
abd03197d916c069bf1a288f249f3ab448714ce59f9cfb16064f215e71ed537f
|