Metadata-Version: 1.1
Name: campfire
Version: 0.1
Summary: A simple campfire api implementation.
Home-page: https://github.com/marsam/campfire
Author: Mario Rodas
Author-email: rodasmario2@gmail.com
License: MIT License
Description: Campfire
        ========
        A simple `campfire api <https://github.com/37signals/campfire-api>`_ implementation.
        
        Examples
        --------
        
        Mentions notifications:
        
        .. code:: python
        
            import re
        
            # You can replace with growl.
            from gi.repository import Notify
        
            TOKEN = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
            MENTIONS = re.compile('(?:marsam|all|everybody|help)', flags=re.IGNORECASE | re.UNICODE)
            campfire = Campfire('lucuma', TOKEN)
            Notify.init('Campfire mentions')
            for msg in campfire.stream('433622'):
                msg_body = msg['body']
                if msg_body and re.match(MENTIONS, msg_body):
                    Notify.Notification.new(self.name, msg_body, 'dialog-information').show()
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: License :: OSI Approved :: MIT License
