Skip to main content

Network Automation Collection

Project description

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
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

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

Building CLI Docs

At the moment typer-cli is not ready for typer 0.4.0

typer nettowel/cli/main.py utils docs --name nettowel --output CLI.md

Contributing

Run tests:

make tests

Bump version:

Steps: patch, minor, major, prepatch, preminor, premajor, prerelease.

make bump ARGS=patch

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

Uploaded Source

Built Distribution

nettowel-0.5.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nettowel-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a9889b9da0748bafaa8c8521c8c17e085b77183cbf327b007c2a69fddb32baf1
MD5 8848701405f1be989fbb373f32d1ee05
BLAKE2b-256 a8f5b042abe167b7cca6b0e0561bf9eed1857cb0b3272220586d797e8d46db28

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nettowel-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebd43d713a18e6e324d04b03d0f27abd2f2922aa164b92417296a188cd66f4eb
MD5 b33c7a3a64c5869aef563e7ca92b1bd8
BLAKE2b-256 d9569aea2da5e25979e5e869b29c7996039def24c2a9cdba14d12d359acd9534

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