_images/logo.png https://travis-ci.org/knipknap/exscript.svg?branch=master https://coveralls.io/repos/github/knipknap/exscript/badge.svg?branch=master Code Climate https://img.shields.io/github/stars/knipknap/exscript.svg https://img.shields.io/github/license/knipknap/exscript.svg

What is Exscript?

Exscript is a Python module and a template processor for automating network connections over protocols such as Telnet or SSH. We attempt to create the best possible set of tools for working with Telnet and SSH.

Exscript also provides a set of tools and functions for sysadmins, that simplify regular expression matching, reporting by email, logging, or syslog handling, CSV parsing, ip address handling, template processing, and many more.

Exscript may be used to automate sessions with routers from Cisco, Juniper, OneAccess, Huawei, or any others. If you want to configures machines running Linux/Unix, IOS, IOS-XR, JunOS, VRP, or any other operating system that can be used with a terminal, Exscript is what you are looking for.

Using Exscript with Python

Make sure to check out the Python Tutorial. You may also want to look at the Python examples.

Using the Exscript command line tool

Have a look at our CLI Tutorial. You will also want to learn about Exscript Templates.

Main design goals

  • Exscript provides high reliability and scalability. Exscript is used by some of the world’s largest ISPs to maintain hundreds of thousands of sessions every day.
  • Exscript is extremely well tested. The Exscript public API has almost 100% test coverage.
  • Exscript is protocol agnostic, so if you are migrating from Telnet to SSH later, you can switch easily by simply changing an import statement.


Exscript is on GitHub.


Exscript is published under the MIT licence.