Skip to main content

Configuration and connection tools for PIA VPN routes on Linux

Project description

Configures NetworkManager keyfiles for OpenVPN routes to Private Internet Access servers.

pypia automatically detects your operating system. Currently the supported distros are Fedora, Manjaro, Ubuntu, Elementary OS, Antergos, Linuxmint, openSUSE, Kali, Arch, CentOS.

In addition to configuring NetworkManager keyfiles, this module also can be invoked to ping all PIA endpoints, connect to the fastest, connect to a random server, etc. Use pypia –help for further descriptions and usage.

usage: pypia.py [-h] [-i] [-p] [-s] [-r {us,all,int}] [-f] [-d]

optional arguments:
-h, --help

show this help message and exit

-i, --initialize

configure pia vpn routes as networkmanager keyfiles. use this flag on first run and anytime you want to refresh pia vpn routes

-p, --ping

ping each vpn server and list latencies

-s, --shuffle

connect to or shuffle a random vpn

-r, --region

“us” for US only, “int” for non-US, “all” for worldwide

-f, --fastest

connect to network with lowest ping latency

-d, --disconnect

disconnect current PIA vpn connection

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

pypia-0.3.7.tar.gz (21.0 kB view details)

Uploaded Source

File details

Details for the file pypia-0.3.7.tar.gz.

File metadata

  • Download URL: pypia-0.3.7.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.6.9

File hashes

Hashes for pypia-0.3.7.tar.gz
Algorithm Hash digest
SHA256 80dc85cca5bbfbc27da31de5f99a1399146effeb5ebe620960c320bacf4e8fbf
MD5 78b038a96ce159ebbdd900e473a1cc8c
BLAKE2b-256 bfb3ee1812969d9892bbe22b2b62f4e6e7ab07ab9d1d1cf84aeee10547185794

See more details on using hashes here.

Supported by

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