Name | pydpn JSON |
Version |
0.1.7
JSON |
| download |
home_page | |
Summary | python package for configuring a deeperNetwork device |
upload_time | 2023-01-08 22:04:31 |
maintainer | |
docs_url | None |
author | Your Name |
requires_python | >=3.9,<4.0 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# pydpn
Python package for configuring a deeperNetwork device
# Install
```sh
pip install pydpn
```
# Usage
## Python
```python
from pydpn import DeeperNetwork
dpn = DeeperNetwork()
activeMode = dpn.mode.dpnMode
if activeMode != "smart":
dpn.mode.set_dpnMode("smart")
```
## Commandline
```shell
C:\Users> dpn set-mode smart
C:\Users> dpn set-mode full EUW
```
## Config File
For convineanc a json file can be saved under
```path
C:\Users\%USERPROFILE%\.dpn\config.json
```
The contents must follow this style:
```json
{
"username":"example",
"password": "example",
"hostIp": "http://34.34.34.34",
"proxy":"192.168.133.99:3128"
}
```
If no arguments are passed to the DeeperNetwork class in python script the class will look for the config file at this default place
For commandline the config file is mandetroy
# DeeperNetwork
More information on the DeeperNetwork product can be found [**here**](https://shop.deeper.network/pages/deeper-connect-decentralized-vpn)
If you like the project consider buying your DeeperNetwork hardware with my affiliat [**link**](https://shop.deeper.network/?sca_ref=3122711.jthhvz8Ao8&sca_source=GitHub)
chears!
Raw data
{
"_id": null,
"home_page": "",
"name": "pydpn",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/8d/62/9d7db9b7b6e186892b3f7f725aae2d0a0862283428ee3ff66908b3794738/pydpn-0.1.7.tar.gz",
"platform": null,
"description": "# pydpn\n Python package for configuring a deeperNetwork device\n\n# Install\n\n ```sh\n pip install pydpn\n ```\n\n# Usage\n\n## Python \n\n```python\nfrom pydpn import DeeperNetwork\n\ndpn = DeeperNetwork()\nactiveMode = dpn.mode.dpnMode\nif activeMode != \"smart\":\n dpn.mode.set_dpnMode(\"smart\")\n\n\n```\n\n## Commandline\n\n```shell\nC:\\Users> dpn set-mode smart\n\nC:\\Users> dpn set-mode full EUW\n```\n\n\n\n## Config File\n\n For convineanc a json file can be saved under \n \n ```path\n C:\\Users\\%USERPROFILE%\\.dpn\\config.json\n ```\n \n The contents must follow this style:\n ```json\n {\n \"username\":\"example\",\n \"password\": \"example\",\n \"hostIp\": \"http://34.34.34.34\",\n \"proxy\":\"192.168.133.99:3128\"\n }\n```\n If no arguments are passed to the DeeperNetwork class in python script the class will look for the config file at this default place\n\n For commandline the config file is mandetroy\n\n# DeeperNetwork\n\nMore information on the DeeperNetwork product can be found [**here**](https://shop.deeper.network/pages/deeper-connect-decentralized-vpn)\n\nIf you like the project consider buying your DeeperNetwork hardware with my affiliat [**link**](https://shop.deeper.network/?sca_ref=3122711.jthhvz8Ao8&sca_source=GitHub)\n\nchears!",
"bugtrack_url": null,
"license": "MIT",
"summary": "python package for configuring a deeperNetwork device",
"version": "0.1.7",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8d6d7b41313ff200d6453d9f767a661baa1c62ea3139b3ac0ee92647b45dbd71",
"md5": "a888e686418624c07411dff55b9b2f6b",
"sha256": "b14bd02fb2e37a32e81bc195b15d1ecc8515833487bf902b816c1695a962b9ab"
},
"downloads": -1,
"filename": "pydpn-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a888e686418624c07411dff55b9b2f6b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 19809,
"upload_time": "2023-01-08T22:04:30",
"upload_time_iso_8601": "2023-01-08T22:04:30.155415Z",
"url": "https://files.pythonhosted.org/packages/8d/6d/7b41313ff200d6453d9f767a661baa1c62ea3139b3ac0ee92647b45dbd71/pydpn-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8d629d7db9b7b6e186892b3f7f725aae2d0a0862283428ee3ff66908b3794738",
"md5": "816fce8ecd75d6512a804637c9715e0d",
"sha256": "d10f48699a81ac61df3c6a932c7913c704f49e3c0b0c4c11c2b3d4ce83b43c85"
},
"downloads": -1,
"filename": "pydpn-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "816fce8ecd75d6512a804637c9715e0d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 13428,
"upload_time": "2023-01-08T22:04:31",
"upload_time_iso_8601": "2023-01-08T22:04:31.727799Z",
"url": "https://files.pythonhosted.org/packages/8d/62/9d7db9b7b6e186892b3f7f725aae2d0a0862283428ee3ff66908b3794738/pydpn-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-08 22:04:31",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "pydpn"
}