Metadata-Version: 1.1
Name: pysesame
Version: 0.2.0
Summary: Python API for Sesame smart locks
Home-page: https://github.com/trisk/pysesame
Author: Albert Lee
Author-email: trisk@forkgnu.org
License: MIT
Description: pysesame
        ========
        
        Python API for controlling `Sesame <https://candyhouse.co/>`_ smart locks made
        by CANDY HOUSE, Inc. 
        
        This is based on the `cloud API <https://docs.candyhouse.co>`_ for Sesame.
        
        Requirements
        ------------
        Your Sesame needs to be paired with the mobile app in *virtual station*
        mode, or a standalone `Wi-Fi Access Point
        <https://candyhouse.co/products/wi-fi-access-point>`_.
        
        Dependencies
        ------------
        pysesame depends on the Python package, requests. You can install dependencies
        using ``pip install -r requirements.txt``
        
        Usage
        -----
        
        .. code:: python
        
            >> import pysesame
        
            >> sesames = pysesame.get_sesames("abc@i-lovecandyhouse.co",
                                              "super-strong-password")
            >> [s.nickname for s in sesames]
            ['Front Door', 'Back Door']
        
            >> front_door = next(s for s in sesames if s.nickname == "Front Door")
            >> front_door.device_id
            'FEEDFACE1234'
            >> front_door.api_enabled
            True
            >> front_door.is_unlocked
            False
            >> front.door.unlock()
            True
            >> front_door.is_unlocked
            True
            >> front.door.is_unlocked = False
            >> front_door.is_unlocked
            False
        
        License
        -------
        pysesame is released under the MIT license.
        
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Home Automation
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
