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

You can 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
  • 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

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

Uploaded Source

Built Distribution

nettowel-0.5.1-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nettowel-0.5.1.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for nettowel-0.5.1.tar.gz
Algorithm Hash digest
SHA256 c1e5e077f817a813a20ddeb8f91883a0bc0211760a461ada4d4ce5e34ea61a42
MD5 027d25edcbc4fd3cf4df06b2a0d57049
BLAKE2b-256 9524f1a7f4f489e0f5d8ead4b333f6e9ac94fa6d349dc3dd4ac4cf18350d2e78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nettowel-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for nettowel-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 397a1d6e5195428a41a3cc15d3c64ab3126dbad2a15728e97215fe4b30a6cbd2
MD5 3a93968faede50e0c617d1800de5a44d
BLAKE2b-256 d52e2e9fc15c9a4d9ffad837ae840c7d574a647c97a7205209935f6fe099e7d8

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