Metadata-Version: 2.1
Name: pynso-restconf
Version: 2.1.2
Summary: A Python client library for Cisco NSO (previously tail-f).
Home-page: https://github.com/workfloworchestrator/pynso-restconf
License: UNKNOWN
Author: SURF
Author-email: automation-helpdesk@surfnet.nl
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development
Classifier: Typing :: Typed
Requires-Dist: requests
Requires-Dist: bumpversion
Requires-Dist: requests ; extra == "all"
Requires-Dist: bumpversion ; extra == "all"
Requires-Dist: black ; extra == "test"
Requires-Dist: flake8 ; extra == "test"
Requires-Dist: flake8-bandit ; extra == "test"
Requires-Dist: flake8-bugbear ; extra == "test"
Requires-Dist: flake8-comprehensions ; extra == "test"
Requires-Dist: flake8-docstrings ; extra == "test"
Requires-Dist: flake8-logging-format ; extra == "test"
Requires-Dist: flake8-pep3101 ; extra == "test"
Requires-Dist: flake8-print ; extra == "test"
Requires-Dist: flake8-rst ; extra == "test"
Requires-Dist: flake8-rst-docstrings ; extra == "test"
Requires-Dist: isort ; extra == "test"
Requires-Dist: mypy==0.790 ; extra == "test"
Requires-Dist: pytest ; extra == "test"
Requires-Dist: pygments ; extra == "test"
Requires-Dist: requests-mock ; extra == "test"
Project-URL: Documentation, http://workfloworchestrator.org/pynso-restconf/
Provides-Extra: all
Provides-Extra: test

==============
PyNSO-Restconf
==============
|Build| |PyPI1| |PyPI2| |PyPI3| |Downloads|

A Python client library for Cisco NSO (previously tail-f)

------------
Installation
------------

To install use pip:

::

    $ pip install pynso-restconf

Or clone the repo:

::

    $ git clone https://github.com/workfloworchestrator/pynso-restconf.git
    $ pip install flit
    $ flit install --deps develop --symlink

-----
Usage
-----

.. code:: python

    from pprint import pprint

    from pynso import NSOClient

    # Setup a client
    client = NSOClient('10.123.92.12', 'admin', 'admin')

    # Get information about the API
    print('Getting API version number')
    pprint(client.info())

    # Get the information about the running datastore
    print('Getting information about the running datastore')
    pprint(client.get_datastore("running"))

.. |Build| image:: https://github.com/workfloworchestrator/pynso-restconf/workflows/Python%20package/badge.svg
    :target: https://github.com/workfloworchestrator/pynso-restconf
.. |PyPI1| image:: https://img.shields.io/pypi/v/pynso-restconf.svg?maxAge=2592000
    :target: https://pypi.python.org/pypi/pynso-restconf
.. |PyPI2| image:: https://img.shields.io/pypi/l/pynso-restconf.svg?maxAge=2592000
    :target: https://pypi.python.org/pypi/pynso-restconf
.. |PyPI3| image:: https://img.shields.io/pypi/pyversions/pynso-restconf.svg?maxAge=2592000
    :target: https://pypi.python.org/pypi/pynso-restconf
.. |Downloads| image:: https://static.pepy.tech/personalized-badge/pynso-restconf?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads
    :target: https://pepy.tech/project/pynso-restconf

