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.3.tar.gz (16.1 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.3-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file mullvad-0.1.3.tar.gz.

File metadata

  • Download URL: mullvad-0.1.3.tar.gz
  • Upload date:
  • Size: 16.1 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.3.tar.gz
Algorithm Hash digest
SHA256 badf9089117039eee848a8039d60dfd5dbb5a94da075df62bba9341b704f25cc
MD5 f4804e4e8c06110d27042276208aedc6
BLAKE2b-256 44a7faeac500046e3dd80d2c31301a3eee4481d3b4d3587fe29145ef4623a6ed

See more details on using hashes here.

File details

Details for the file mullvad-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: mullvad-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 16.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 03ea35907f67f76660f6df38f3c5db3877bdf7403a08b26fb9841289c1153088
MD5 366fffe43067b8d28baf4e884e9426b6
BLAKE2b-256 28286eb570afc0ca165c58797dea87f73da8aa5dcff77bf52598faf1065e0998

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