Skip to content

Spirent Avalanche Automation Python Wrapper for TCL Automation

License

Notifications You must be signed in to change notification settings

Spirent/avalanche-python-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

What is this repository for?

  • Quick summary

This is a Python wrapper for the Avalanche Tcl API. It is designed to provide the same Tcl API functionality for Python. All commands and attributes should be identical to the Tcl API, but with a Python "flavor". This functionality is enabled by placing a Python translation layer on top of the Tcl API. The Python translation layer converts the user's Python commands into their corresponding Tcl equivalent, and also converts the Tcl API response.

How do I get set up?

The code is hosted here: https://github.com/Spirent/avalanche-python-api

You can download a copy of the library directly: https://github.com/Spirent/avalanche-python-api/archive/master.zip

Or use PyPI: pip install avalancheapi

  • Summary of set up PyPI should automatically install the module. However, if you download the Zip file, extract the archive in the desired location. You will need to point your Python script to this location. e.g. sys.path.append('/home/somebody/spirent/avalancheapi')

  • Dependencies OS: Any OS supported by the Avalanche API Python: 2.7.x and 3.x Tcl: 8.4 or 8.5.x (ActiveTcl is recommended) Tcl Libraries: msgcat, tcllib1.15+, tbcload and Tclx (not included)

Who do I talk to?

Please contact Spirent support for any issues: [email protected]

About

Spirent Avalanche Automation Python Wrapper for TCL Automation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published