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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nettowel-0.4.2.tar.gz
Algorithm Hash digest
SHA256 a3b5cef8168cf52ed0d769027d2b19d6812fbbfa41ad065996f5f9e635d768fa
MD5 675431179aa69d50046d2e35e5846646
BLAKE2b-256 a3dc7bbed6a3b929a02421dba7d9374e8e6025a356e74772984520c7124b6697

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nettowel-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf9dcc6b6a3f1b2ec8e354faae3b521a46c930f93dc9d005722c0d63528f607
MD5 d32375e76cd9bf1896388f2da84a7c1a
BLAKE2b-256 4953baea4fbe3bccb85c2611c7ab6b2cfd8d714eb92623f6fe683b7b55a2e9a6

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