Skip to content

Commit 1f54d83

Browse files
Jefferson, Matthew (Matt)Jefferson, Matthew (Matt)
Jefferson, Matthew (Matt)
authored and
Jefferson, Matthew (Matt)
committed
Initial commit for new repository location.
1 parent 8aa165d commit 1f54d83

File tree

4 files changed

+1527
-2
lines changed

4 files changed

+1527
-2
lines changed

README.md

+35-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
1-
# avalanche-python-api
2-
Spirent Avalanche Automation Python Wrapper for TCL Automation
1+
# README #
2+
3+
### What is this repository for? ###
4+
5+
* Quick summary
6+
7+
This is a Python wrapper for the Avalanche Tcl API.
8+
It is designed to provide the same Tcl API functionality for Python.
9+
All commands and attributes should be identical to the Tcl API, but with a Python "flavor".
10+
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.
11+
12+
### How do I get set up? ###
13+
14+
The code is hosted here:
15+
https://github.com/canadianjeans/avalanche
16+
17+
You can download a copy of the library directly:
18+
https://github.com/canadianjeans/avalanche/archive/master.zip
19+
20+
Or use PyPI:
21+
pip install avalancheapi
22+
23+
* Summary of set up
24+
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.
25+
e.g. sys.path.append('/home/somebody/spirent/avalancheapi')
26+
27+
* Dependencies
28+
OS: Any OS supported by the Avalanche API
29+
Python: 2.7.x and 3.x
30+
Tcl: 8.4 or 8.5.x (ActiveTcl is recommended)
31+
Tcl Libraries: msgcat, tcllib1.15+, tbcload and Tclx (not included)
32+
33+
### Who do I talk to? ###
34+
35+
Please contact Spirent support for any issues: [email protected]

__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# This is empty on purpose

0 commit comments

Comments
 (0)