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
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
Features
Many features are not implemented yet and many features will come.
Jinja2
render
validate
variables
TTP
render
Netmiko
cli
autodetect
device-types
RESTCONF
get
patch, delete
post, put
ipaddress
ip-info
network-info
YAML
load
dump
JSON Patch (RFC 6902)
create
apply
Help
Settings
A dotenv
file can be used as a settings file. The file can also be provided with the option --dotenv
.
Piping
TUI
Using Trogon a TUI (Terminal User Interface) can be generated to edit and run the NetTowel command.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | da7791b2d1881e7064fd15e70ee70c46878bb37aa9f69f1be63b306b7751014b |
|
MD5 | 06f7b0b48f917ae17a51d8b0f850c668 |
|
BLAKE2b-256 | 1dbcf16155e24e6300d3977018aa3e2438bf421c0faf7077e77eac7c8bdadda7 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed74160b35f8fc92e18a6a5d78ee02c10c89ba79e59a231e7d959adad88e372f |
|
MD5 | 56e17c2ed4acd1e2e18bc43592b287eb |
|
BLAKE2b-256 | 6053cbaecfeb11f26ddfdf206aedde9446c33d5364aed4c071cdee7d480a55c5 |