Skip to main content

VPNium

VPNium is a Python library for managing a VPN extension for Chrome WebDriver. It provides a convenient way to control and interact with a VPN extension within your Python scripts.

Installation

To install VPNium, you can use pip:

pip install vpnium

Usage

Here is an example of how to use VPNium in your Python script:

from VPNium import VPNium
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.chrome.service import Service
from driverium import Driverium

# Set up Chrome options
options = Options()
options.add_argument("--headless=new")

# Set up Chrome service
service = Service(Driverium().get_driver())

# Create VPNium instance
vpnium = VPNium(options, service)

# Get driver instance
driver = vpnium.driver

# Get available servers
servers = vpnium.get_available_servers()
print(servers)

# Connect to a server
vpnium.connect_to_server("United Kingdom (UK)")

# Disconnect from the server
vpnium.disconnect()

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the VPNium GitHub repository.

License

VPNium is licensed under the MIT License. See the LICENSE file for more information.

Metadata

Release files for vpnium 1.0.1

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

Source distribution (sdist)

Source distribution for vpnium 1.0.1
File Size Uploaded
vpnium-1.0.1.tar.gz 5.6 kB Details

Built distribution (wheel)

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

Total release size: 11.5 kB

Release files / vpnium-1.0.1.tar.gz

Download URL vpnium-1.0.1.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
609fbad0d820dcbab47bcd56020e4e9f0c66f804df44c6a1aea60c6edb035165
BLAKE2b-256 checksum
How to use checksums
d7830e57353bfffd0c9a15ab0e7a5bc262d36699766099b1259faaa710bec511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.7

Release files / vpnium-1.0.1-py3-none-any.whl

Download URL vpnium-1.0.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e644fb2b4c6df72f7011a9fbd764acd316061ca10918868d3cb23d3095fc0e56
BLAKE2b-256 checksum
How to use checksums
58f08f83c81a44087949ade6cf88bc8a26a071c4dbe5893c2365a8d958245aa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.7

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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