Metadata-Version: 2.1
Name: pyangexcel
Version: 0.3
Summary: A pyang excel plugin to produce a Excel Schema file
Home-page: https://github.com/neoul/pyangexcel
Author: neoul
Author-email: neoul@ymail.com
License: Apache License
Keywords: pyang,yang
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: pyang
Requires-Dist: openpyxl

# pyangexcel (pyang excel plugin)

This is a pyang excel output plugin. It takes YANG files and tries to produce a Excel Schema file for readability.

## Installation and execution

```bash
# Install
python setup.py install --user --record install-list.txt

export PYANG_PLUGINPATH=`/usr/bin/env python -c \
'import pyangexcel; import os; print ("{}".format(os.path.dirname(pyangexcel.__file__)))'`
pyang -f excel --excel-model-name=TEST-MODEL --excel-model-ver=1.0 --excel-model-author=neoul@ymail.com --path=test test/test-module.yang

# Another installation method
pip install pyangexcel
export PYANG_PLUGINPATH=`/usr/bin/env python -c \
'import pyangexcel; import os; print ("{}".format(os.path.dirname(pyangexcel.__file__)))'`
pyang -f excel --excel-model-name=TEST-MODEL --excel-model-ver=1.0 --excel-model-author=neoul@ymail.com --path=test test/test-module.yang


# Remove
xargs rm -rf < install-list.txt
```

## Temp (Do not use.)

```bash
python setup.py bdist_wheel
twine upload dist/pyangexcel-0.1-py2-none-any.whl
```

## Result

![Excel file](img/excel-result.png)


