I started working on this project a few weeks ago. My day job involves doing repetitive tasks on a wide variety of Cisco OS's (XE, XR, NXOS, ASA, etc.) and writing scripts that work on all those different systems was getting complex and annoying.
Basically, I wanted to make a Python3 library that makes it easier for me to write OS "agnostic" scripts quickly, with functions that handle common tasks like entering "global config" mode and configuring interfaces.
Let me be honest--I am no expert python programmer. I understand enough to hack together code that is useful for my job, but I know that sometimes my code isn't the cleanest or could be designed better. So far I've done my best with this and I am open to criticism and guidance!
I included an example script called s_template.py in the root of my project, look at this first as an example of how one could use my libraries.
I know there are similar projects out there--but none of the ones I could find were for Python 3.
Github link: https://github.com/matthewspangler/s...isco-shortcuts