Editor & browser for network configuration files
Project description
Thymus
Thymus — is a config browser and editor. Thymus understands the context of a network configuration file compared to popular text editors. It mimics the CLI of a selected platform. That allows you to navigate, display, and edit selected configuration parts based on their paths just like in your favorite network operation system. You can save edited versions many times, creating a history log. Thymus supports the diff among them and can roll back to any saved version.
Thymus does not require a connection to any network device but it can fetch a configuration from a remote machine via Telnet or SSH. Also, it can be used over SSH from a remote machine.
Thymus supports:
- Juniper JunOS (and probably other JunOS-like systems, e.g. SR-OS with MD-CLI)
- Cisco IOS/IOS-XE/NX-OS/XR-OS (and probably other IOS-like systems)
- Arista EOS
Screenshots
JunOS context screen
IOS context screen
Compare/diff between two configs (JunOS is just as an example)
Installation
Use pip
or pipx
to install the package (e.g., pip install thymus
or pipx install thymus
).
Operations
Thymus operates in TUI-based mode thanks to the Textual library. This mode draws the full-scale user interface in your console with mouse support. From the Textual documentation:
> On modern terminal software (installed by default on most systems), Textual apps can use **16.7 million** colors with mouse support and smooth flicker-free animation. A powerful layout engine and re-usable components makes it possible to build apps that rival the desktop and web experience.
> Textual runs on Linux, macOS, Windows and probably any OS where Python also runs.
To run Thymus use the command:
python -m thymus
Documentation
Please, refer to Wiki.
Feedback
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 thymus-0.1.8.tar.gz
.
File metadata
- Download URL: thymus-0.1.8.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 388940cda4716a78d48b7cdc371b395fbd35b36a4e6ef7f525821460ba5b53af |
|
MD5 | 602f6945dc5a53a083fe5c2457fc3559 |
|
BLAKE2b-256 | d2dcdd3eec207ce0c97f6b37a75e0db58931858da5c1e9427fbbd6ba85881824 |
File details
Details for the file thymus-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: thymus-0.1.8-py3-none-any.whl
- Upload date:
- Size: 65.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a729e935082367709310e96beabe5aa5bc99aeed95159ec35f775eb2f28208dd |
|
MD5 | 5f36da50eb31a5b9bf0c8f935a05df3b |
|
BLAKE2b-256 | 987aacd87fcf5b4bdaa499366b0c9fa39866bf9940eecef5a3b9904ad83c9405 |