Skip to main content

A pyang excel plugin to produce a Excel Schema file

Project description

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

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

# Or install it via pip, pip3
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

# 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.)

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

Result

Excel file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyangexcel-0.4.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

pyangexcel-0.4-py3-none-any.whl (12.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page