python package for configuring a deeperNetwork device
Project description
pydpn
Python package for configuring a deeperNetwork device
Install
pip install pydpn
Usage
Python
from pydpn import DeeperNetwork
dpn = DeeperNetwork()
activeMode = dpn.mode.dpnMode
if activeMode != "smart":
dpn.mode.set_dpnMode("smart")
Commandline
C:\Users> dpn set-mode smart
C:\Users> dpn set-mode full EUW
Config File
For convineanc a json file can be saved under
C:\Users\%USERPROFILE%\.dpn\config.json
The contents must follow this style:
{
"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
If you like the project consider buying your DeeperNetwork hardware with my affiliat link
chears!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydpn-0.1.7.tar.gz.
File metadata
- Download URL: pydpn-0.1.7.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d10f48699a81ac61df3c6a932c7913c704f49e3c0b0c4c11c2b3d4ce83b43c85
|
|
| MD5 |
816fce8ecd75d6512a804637c9715e0d
|
|
| BLAKE2b-256 |
8d629d7db9b7b6e186892b3f7f725aae2d0a0862283428ee3ff66908b3794738
|
File details
Details for the file pydpn-0.1.7-py3-none-any.whl.
File metadata
- Download URL: pydpn-0.1.7-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b14bd02fb2e37a32e81bc195b15d1ecc8515833487bf902b816c1695a962b9ab
|
|
| MD5 |
a888e686418624c07411dff55b9b2f6b
|
|
| BLAKE2b-256 |
8d6d7b41313ff200d6453d9f767a661baa1c62ea3139b3ac0ee92647b45dbd71
|