net-device-conn
Current Features
- Still under development.
How to Use:
# Update pip and create a virtual environment, then activate the environment and install.
```
python -m pip install --upgrade pip
py -m venv venv
.\venv\Scripts\activate
python -m pip install .
```
# If you have a GNS3 environment or a network device with SSH setup then you can try and connect to it.
```
(venv) net-device-conn> python
>>> import net_device_conn
>>> handler = net_device_conn.DeviceHandler(device_type="cisco_ios", host='192.168.233.10', username='admin', password='cisco')
>>> h = handler.connect()
>>> output = h.send_command('show ver')
>>> print(output)
>>> exit()
```
Dependency:
netmiko
Metadata
Release files for net-device-conn 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| net_device_conn-0.1.0.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| net_device_conn-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.3 kB
Release files / net_device_conn-0.1.0.tar.gz
| Download URL | net_device_conn-0.1.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bb529df31fc6b571f0545bc16442dd3f990f4a3782f3b2e23c9036538ea3f19
|
|
BLAKE2b-256 checksum How to use checksums |
57bf790f9527662855cdbe4534b5ae3fd542cea4465e965eba14335945dab41c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Release files / net_device_conn-0.1.0-py3-none-any.whl
| Download URL | net_device_conn-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c910936c86d91ddb645071f80a5c162f8491067cfe60ec372d8e0e35c905b479
|
|
BLAKE2b-256 checksum How to use checksums |
bca60359edb0ebd351243cf4a8675456820bd8cbdbf4ad85d8881007da243b42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|