Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mullvad-0.1.4-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

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

Hashes for mullvad-0.1.4.tar.gz
Algorithm Hash digest
SHA256 94ff78c28168ec751ea347e42adc37a39fecdbcfbcb73e877ca8ab8ad2b8474a
MD5 1594a7884d7645ec9e589ec8ba7d7408
BLAKE2b-256 24593943c7b610a8df51ce3062ee307d537766d8e2808e33fc354e35e8dea1b8

See more details on using hashes here.

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

Hashes for mullvad-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 30c458bd92e0b4ecbfeae95ee15d01363c280fc94c2c856aebb805ab74e5dbf4
MD5 309a9bd06f8c0ddad99be189ab23a163
BLAKE2b-256 abd03197d916c069bf1a288f249f3ab448714ce59f9cfb16064f215e71ed537f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page