Skip to main content

DieVPN

Tool that allows to switch between VPNs with ease and speed

image PyPI - Python Version Downloads

Supported

VPNs

  • AnyConnectVPN - Cisco
  • Tunnelblick
  • Viscosity

OS

  • MacOS
  • Linux (Debian, Ubuntu, ...)
  • Windows

Python

  • 3.7+

Installing

Install and update using pip:

pip install dvpn

or

pip3 install dvpn

How to set up with GUI

  • Use dvpn gui in terminal to add your VPNs, passwords and usernames are stored in plaintext so be sure to have disk encrypted.
  • If it seems applications is freezing, it is just side effect of compatibility solution on OSX and not using threaded connection/disconnection currently #TODO just wait it will finish
  • Please be patient and don't click multiple times on buttons in same time

How to set up with CLI

  • Copy template_secret.json to package/config/secret.json
  • Edit secret accordingly to json format and your credentials
  • Now you can use cli commands
  • Future Release will contain auto vpn resolve dvpn autoresolve

For Tunnelblick you must install tunnelblickctl

on macOS use:

brew tap benwebber/tunnelblickctl
brew install tunnelblickctl

How to set up Manually

  • Clone repository with git clone https://github.com/jiri-otoupal/dievpn.git
  • Install requirements with pip install -r requirements.txt (ignore / delete windows requirements pywin32 & wexpect if your pip is trying to install them)
  • Copy template_secret.json to package/config/secret.json
  • Edit secret accordingly to json format and your credentials

Usage

All commands need to be launched in os terminal not in Pycharm terminal

Access all functions through gui

dvpn gui

or CLI

Connect to VPN specified in config/secret.json

dvpn connect {name_in_credentials}

Disconnect from any currently connected VPN

dvpn disconnect

Metadata

Release files for dvpn 1.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dvpn 1.1.10
File Size Uploaded Provenance Actions
dvpn-1.1.10.tar.gz 139.5 kB Without provenance Details for dvpn-1.1.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dvpn 1.1.10
File Interpreter ABI Platform Actions
dvpn-1.1.10-py3-none-any.whl Python 3 none any Details for dvpn-1.1.10-py3-none-any.whl

Total release size: 287.2 kB

Release files / dvpn-1.1.10.tar.gz

Download URL dvpn-1.1.10.tar.gz
Size 139.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2d69454e522a27cef14d8c034a44d13c3d0fe6120d7a5b56f0a629b2bc6b0bca
BLAKE2b-256 checksum
How to use checksums
84f5481a245ae020a3d72e4e9c2261cdf300637c38eca81c1ccde83fc1cff919
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / dvpn-1.1.10-py3-none-any.whl

Download URL dvpn-1.1.10-py3-none-any.whl
Size 147.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cc981c93e911024ea939c54163dc964b8c8eb61337c2d739a16cd674167e488
BLAKE2b-256 checksum
How to use checksums
a24db4b770a7e305f1848582aec839933094904375cdca24f51f058f8a4c2d11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Security for dvpn 1.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page