Metadata-Version: 1.1
Name: PyParticleIO
Version: 0.0.3
Summary: Python module with a class to interface with the ParticleIO cloud
Home-page: https://github.com/youngsoul/PyParticleIO
Author: Patrick Ryan
Author-email: pat_ryan_99@yahoo.com
License: Public Domain
Description: ===================================================================
        PyParticleIO: Python package to interface with the ParticleIO cloud
        ===================================================================
        
        PyPI Package to search for is: pyparticleio
        ============================================
        
        
        ``PyParticleIO`` is an Open Source licensed Python package that provides a class to
        interface with the ParticleIO cloud
        
        This ParticleCloud class is meant to be a minimal python implementation
        to access a Particle devices (Core, Photon, Electron) functions, variables and events.
        
        <b>
            Inspired heavily from:
        
            https://github.com/Alidron/spyrk/blob/master/spyrk/spark_cloud.py
        
            -- Thank you for sharing your implementation
        <b>
        
        Create Instance of ParticleCloud
        ================================
        particle_cloud = ParticleCloud(access_token)
        particle_cloud = ParticleCloud(username, password)
        
        List Devices
        ============
        particle_cloud.devices
        
        Call a function
        ===============
        particle_cloud.internet_button1.ledOn('led1')
        
        Get a variable value
        ====================
        particle_cloud.internet_button1.buttonCount
        
        Subscribe for a device specific event.
        ======================================
        def callback(event_data):
             print("event callback")
        
        particle_cloud.internet_button1.subscribe("button1", callback)
        
        Subscribe for a non-device specific event
        =========================================
        particle_cloud.internet_button1.cloud_subscribe("button2", callback)
        
        Publish an event to the cloud
        =============================
        particle_cloud.internet_button1.publish("do_rainbow")
        
        
        Test Project
        ------------
        
Keywords: ParticleIO,Photon,Electron
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries :: Python Modules
