This repo is forked from https://github.com/Juniper/py-space-platform.git
SpaceEZ is an open-source Python library to allow easy access to Junos Space REST API services for Python developers. The design of the library closely follows the hierarchical structure of Junos Space REST API and provides minimum learning curve for Python developers to be able to utilize these APIs. This library also strives to minimize:
- the effort required to create Python programs that interact with Junos Space using REST APIs.
- the number of lines of Python code required to create such programs and thus makes it easier to develop, test, and maintain them.
This library is designed to work with both Python 2 (2.7+) and Python 3 (3.3+).
Please read the wiki pages at:
- [Introduction] (https://github.com/Juniper/py-space-platform/wiki/1.-Introduction)
- [Overall Design] (https://github.com/Juniper/py-space-platform/wiki/2.-Overall-Design)
- Accessing XML fields and attributes
API Documentation hosted by readthedocs
You can find working examples using this library under the examples
package. Please see here for more details.
First, clone the forked version of the py-space-platform repo. (Or download the most recent release)
> git clone https://github.com/Juniper-PS-Automation/py-space-platform.git
For installing in Python 2:
> sudo python ./py-space-platform/setup.py install
OR
> sudo pip install ./py-space-platform
For installing in Python 3:
> sudo python3 ./py-space-platform/setup.py install
OR
> sudo pip3 install ./py-space-platform
For questions and general support, please visit the Junos Space Developer forum.
Issues and bugs can be opened in the repository.
Apache 2.0
- Roshan Joyce (@rjoyce)