Skip to main content

Network Automation Collection

Project description

PyPI versions Code style: black Contributor Covenant Downloads

NetTowel

Collection of useful network automation functions

⚠️ nettowel is under heavy construction and not production ready. Feedback is highly appreciated.

Install

It is recommended to install nettowel with pipx. Therefore you have the dependencies isolated and you can use the nettowel or nt command.

pipx install nettowel[full]

You can also install it directly from pypi

pip install nettowel

To reduce the dependencies the extra dependencies are grouped

The following groups are available (more details in the pyproject.toml):

  • full
  • jinja
  • ttp
  • textfsm
  • napalm
  • netmiko
  • scrapli
  • nornir
  • pandas
  • jsonpatch
  • tui
pip install nettowel[jinja]
pip install nettowel[full]

Install from source

git clone ....
cd nettowel
poetry install
poetry run nettowel --help

Help and shell auto-completion

Thanks to the library typer, nettowel comes with a nice help and autocompletion install

help

Features

Many features are not implemented yet and many features will come.

Jinja2

render

jinja rendering 1

jinja rendering 2

validate

jinja validate

variables

jinja variables

TTP

render

ttp render

Netmiko

cli

netmiko cli

autodetect

netmiko autodetect

device-types

netmiko device types

RESTCONF

get

restconf get

patch, delete

restconf patch delete

post, put

restconf post put

ipaddress

ip-info

ip info

network-info

network info

YAML

load

yaml load

dump

yaml dump

JSON Patch (RFC 6902)

create

JSON Patch create

apply

JSON Patch apply

Help

Help QRcode

Settings

A dotenv file can be used as a settings file. The file can also be provided with the option --dotenv.

environment settings

Piping

piping

TUI

Using Trogon a TUI (Terminal User Interface) can be generated to edit and run the NetTowel command.

TUI

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

nettowel-0.6.0.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

nettowel-0.6.0-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file nettowel-0.6.0.tar.gz.

File metadata

  • Download URL: nettowel-0.6.0.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for nettowel-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a67729e56fccfbd0873f6de2d8815d4f5c99db77d4c3f9afeefb763291f597d9
MD5 31c4b6cdbaef85ac0971c2fca5e83a17
BLAKE2b-256 e4361b7eb2741e87bd7d4ce7ca9b9949c7b11786ecfd54ee100c48acdaa341c9

See more details on using hashes here.

File details

Details for the file nettowel-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: nettowel-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for nettowel-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fa2c322880a2fdd2425b9b38c9a769704cc4040e37da9f7495577eb96026f7b
MD5 826bb35e4c94ed811d1d3939e8576e13
BLAKE2b-256 7df9f3620e5e5bc67b47d1377553dbaab8757d78abd9196b5a9cdfb26b7b9408

See more details on using hashes here.

Supported by

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