Metadata-Version: 1.1
Name: streamsx.inet
Version: 1.2.0
Summary: IBM Streams Internet protocol integration
Home-page: https://github.com/IBMStreams/streamsx.inet
Author: IBM Streams @ github.com
Author-email: hegermar@de.ibm.com
License: Apache License - Version 2.0
Description-Content-Type: UNKNOWN
Description: Overview
        ========
        
        Provides functions to run HTTP requests.
        
        This package exposes the `com.ibm.streamsx.inet <https://ibmstreams.github.io/streamsx.inet/>`_ toolkit as Python methods for use with Streaming Analytics service on
        IBM Cloud and IBM Streams including IBM Cloud Pak for Data.
        
        * `Streaming Analytics service <https://console.ng.bluemix.net/catalog/services/streaming-analytics>`_
        * `IBM Streams developer community <https://developer.ibm.com/streamsdev/>`_
        
        
        Sample
        ======
        
        A simple example of a Streams application that emits http requests::
        
            from streamsx.topology.topology import *
            from streamsx.topology.schema import CommonSchema, StreamSchema
            from streamsx.topology.context import submit
            import streamsx.inet as inet
        
            topo = Topology()
        
            # HTTP GET REQUEST
            s1 = topo.source(['http://httpbin.org/get']).as_string()
            result_http_get = inet.request_get(s1)
            result_http_get.print()
        
            # HTTP PUT REQUEST
            s2 = topo.source(['hello world']).as_string()
            result_http_put = inet.request_put(s2, url='http://httpbin.org/put', content_type='text/plain')
            result_http_put.print()
        
            submit('STREAMING_ANALYTICS_SERVICE', topo)
            # Use for IBM Streams including IBM Cloud Pak for Data
            # submit ('DISTRIBUTED', topo)
        
        
        Documentation
        =============
        
        * `streamsx.inet package documentation <http://streamsxinet.readthedocs.io>`_
        
Keywords: streams,ibmstreams,streaming,analytics,streaming-analytics,http,inet
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
