Metadata-Version: 1.1
Name: pyBuildWeb
Version: 0.1
Summary: BuildWeb helper service.
Home-page: https://github.com/rocky1109/pyBuildWeb
Author: Rocky Ramchandani
Author-email: riverdale1109@gmail.com
License: Apache 2.0
Description: # pyBuildWeb

        A python sdk to access buildweb APIs.

        

        ## Installation

        

        Clone the project in your local directory.

        ```

        git clone https://github.com/rocky1109/pyBuildWeb.git

        cd pyBuildWeb

        ```

        

        Now install/build it using **setup.py** file as

        ```

        python setup.py install

        ```

        

        ## Example

        ```python

        >> from pyBuildWeb import BuildWeb, Build

        >> from pprint import pprint

        >> 

        >> build = Build(id="123456")

        >> pprint(build.deliverables, indent=4)

        [   <Deliverable-metadata.xml.gz(4913138)>,

            <Deliverable-index.html(4913138)>,

            <Deliverable-modules.zip(4913138)>]

        >> 

        >> # To download the deliverables from the build

        >> build.download_deliverables(at_path="/path/where/deliverables/should/download")

        >> 

        >> # To download a particular deliverable

        >> build.deliverables[-2].download(at_path="/path/where/deliverables/should/download")

        >> 

        >> buildweb = BuildWeb(product="nsx-transformers", buildtype="ob", state="succeeded")

        >> pprint(buildweb.builds, indent=4)

        [   <Build-6789659>, 

            <Build-6790880>, 

            <Build-6794303>, 

            <Build-6794668>]

        >> 

        >> isinstance(buildweb.builds[0], Build)

        ```

        
Keywords: vmware devops buildweb
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
