# 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:
```shell
pip install vpnium
```
## Usage
Here is an example of how to use VPNium in your Python script:
```python
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](https://github.com/d3kxrma/vpnium).
## License
VPNium is licensed under the MIT License. See the [LICENSE](https://github.com/d3kxrma/vpnium/blob/main/LICENSE) file for more information.
Raw data
{
"_id": null,
"home_page": "https://github.com/d3kxrma/vpnium",
"name": "vpnium",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, selenium, vpn, proxy",
"author": "dekxrma",
"author_email": "qqdjnuxez@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d7/83/0e57353bfffd0c9a15ab0e7a5bc262d36699766099b1259faaa710bec511/vpnium-1.0.1.tar.gz",
"platform": null,
"description": "# VPNium\r\n\r\nVPNium 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.\r\n\r\n## Installation\r\n\r\nTo install VPNium, you can use pip:\r\n\r\n```shell\r\npip install vpnium\r\n```\r\n\r\n## Usage\r\n\r\nHere is an example of how to use VPNium in your Python script:\r\n\r\n```python\r\nfrom VPNium import VPNium\r\nfrom selenium.webdriver.chrome.options import Options\r\nfrom selenium.webdriver.chrome.service import Service\r\nfrom driverium import Driverium\r\n\r\n# Set up Chrome options\r\noptions = Options()\r\noptions.add_argument(\"--headless=new\")\r\n\r\n# Set up Chrome service\r\nservice = Service(Driverium().get_driver())\r\n\r\n# Create VPNium instance\r\nvpnium = VPNium(options, service)\r\n\r\n# Get driver instance\r\ndriver = vpnium.driver\r\n\r\n# Get available servers\r\nservers = vpnium.get_available_servers()\r\nprint(servers)\r\n\r\n# Connect to a server\r\nvpnium.connect_to_server(\"United Kingdom (UK)\")\r\n\r\n# Disconnect from the server\r\nvpnium.disconnect()\r\n\r\n```\r\n\r\n## Contributing\r\n\r\nContributions 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](https://github.com/d3kxrma/vpnium).\r\n\r\n\r\n## License\r\n\r\nVPNium is licensed under the MIT License. See the [LICENSE](https://github.com/d3kxrma/vpnium/blob/main/LICENSE) file for more information.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python library for managing a VPN extension for Chrome WebDriver",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/d3kxrma/vpnium",
"Source": "https://github.com/d3kxrma/vpnium"
},
"split_keywords": [
"python",
" selenium",
" vpn",
" proxy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "58f08f83c81a44087949ade6cf88bc8a26a071c4dbe5893c2365a8d958245aa8",
"md5": "01429e36632aa9554a57ce90c046d745",
"sha256": "e644fb2b4c6df72f7011a9fbd764acd316061ca10918868d3cb23d3095fc0e56"
},
"downloads": -1,
"filename": "vpnium-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "01429e36632aa9554a57ce90c046d745",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5908,
"upload_time": "2024-08-24T11:51:01",
"upload_time_iso_8601": "2024-08-24T11:51:01.702502Z",
"url": "https://files.pythonhosted.org/packages/58/f0/8f83c81a44087949ade6cf88bc8a26a071c4dbe5893c2365a8d958245aa8/vpnium-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d7830e57353bfffd0c9a15ab0e7a5bc262d36699766099b1259faaa710bec511",
"md5": "52c92408acb997d0fd82e5b861e03257",
"sha256": "609fbad0d820dcbab47bcd56020e4e9f0c66f804df44c6a1aea60c6edb035165"
},
"downloads": -1,
"filename": "vpnium-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "52c92408acb997d0fd82e5b861e03257",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5605,
"upload_time": "2024-08-24T11:51:03",
"upload_time_iso_8601": "2024-08-24T11:51:03.104955Z",
"url": "https://files.pythonhosted.org/packages/d7/83/0e57353bfffd0c9a15ab0e7a5bc262d36699766099b1259faaa710bec511/vpnium-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-24 11:51:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "d3kxrma",
"github_project": "vpnium",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "vpnium"
}