Skip to main content

Another network connection project using netmiko

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

net_device_conn-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

net_device_conn-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file net_device_conn-0.1.0.tar.gz.

File metadata

  • Download URL: net_device_conn-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for net_device_conn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2bb529df31fc6b571f0545bc16442dd3f990f4a3782f3b2e23c9036538ea3f19
MD5 c67d1e475201d4d3f27d90ae420846b6
BLAKE2b-256 57bf790f9527662855cdbe4534b5ae3fd542cea4465e965eba14335945dab41c

See more details on using hashes here.

File details

Details for the file net_device_conn-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for net_device_conn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c910936c86d91ddb645071f80a5c162f8491067cfe60ec372d8e0e35c905b479
MD5 5c0bec35fbccdc93470a782a8af90dbd
BLAKE2b-256 bca60359edb0ebd351243cf4a8675456820bd8cbdbf4ad85d8881007da243b42

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page