Skip to main content

NordVPN-connect

This repo has been forked from https://github.com/kboghe/NordVPN-switcher by Kristof Boghe.
Thank you for your work.

Description

This lib allows you to connect to a NordVPN server. Works on Windows and Linux.

Install

pip install nordvpn-connect

Simple Usage

from nordvpn_connect import initialize_vpn, rotate_VPN, close_vpn_connection

# optional, use this on Linux and if you are not logged in when using nordvpn command

settings = initialize_vpn("France")  # starts nordvpn and stuff
rotate_VPN(settings)  # actually connect to server

# YOUR STUFF

close_vpn_connection(settings)

Usage with credentials (Only Linux)

If when you use nordvpn command it asks you for credentials, you'll need to provide them to the initialize_vpn function.

from nordvpn_connect import initialize_vpn, rotate_VPN, close_vpn_connection

# optional, use this on Linux and if you are not logged in when using nordvpn command

settings = initialize_vpn("France", "USERNAME", "PASSWORD")  # starts nordvpn and stuff
rotate_VPN(settings)  # actually connect to server

# YOUR STUFF

close_vpn_connection(settings)

Metadata

Release files for nordvpn-connect 0.0.7

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

Source distribution (sdist)

Source distribution for nordvpn-connect 0.0.7
File Size Uploaded Provenance Actions
nordvpn-connect-0.0.7.tar.gz 5.6 kB Without provenance Details for nordvpn-connect-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nordvpn-connect 0.0.7
File Interpreter ABI Platform Actions
nordvpn_connect-0.0.7-py3-none-any.whl Python 3 none any Details for nordvpn_connect-0.0.7-py3-none-any.whl

Total release size: 12.5 kB

Release files / nordvpn-connect-0.0.7.tar.gz

Download URL nordvpn-connect-0.0.7.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bd0caa59302b62140d0fdb5e23f376ec9992ea16c48de039a82628781b56ae38
BLAKE2b-256 checksum
How to use checksums
16f05ed2e84e43e54b7cdb1821414622ac6885277da35adcf2d6bb53cde93796
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2

Release files / nordvpn_connect-0.0.7-py3-none-any.whl

Download URL nordvpn_connect-0.0.7-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c14158846407100b18a4cf2e99ed11955e090906b988bdf7f4d7a17bb7f705b
BLAKE2b-256 checksum
How to use checksums
4103346d7ca8d5141b768964b7b6b541d47aae3b2174f0c4e94f23389a19e2bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2

Security for nordvpn-connect 0.0.7

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.

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