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.1.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nettowel-0.6.1.tar.gz
  • Upload date:
  • Size: 21.5 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.1.tar.gz
Algorithm Hash digest
SHA256 da7791b2d1881e7064fd15e70ee70c46878bb37aa9f69f1be63b306b7751014b
MD5 06f7b0b48f917ae17a51d8b0f850c668
BLAKE2b-256 1dbcf16155e24e6300d3977018aa3e2438bf421c0faf7077e77eac7c8bdadda7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nettowel-0.6.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed74160b35f8fc92e18a6a5d78ee02c10c89ba79e59a231e7d959adad88e372f
MD5 56e17c2ed4acd1e2e18bc43592b287eb
BLAKE2b-256 6053cbaecfeb11f26ddfdf206aedde9446c33d5364aed4c071cdee7d480a55c5

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