{ "info": { "author": "Mario Rodas", "author_email": "rodasmario2@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3" ], "description": "Campfire\n========\nA simple `campfire api `_ implementation.\n\nExamples\n--------\n\nMentions notifications:\n\n.. code:: python\n\n import re\n\n # You can replace with growl.\n from gi.repository import Notify\n\n TOKEN = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'\n MENTIONS = re.compile('(?:marsam|all|everybody|help)', flags=re.IGNORECASE | re.UNICODE)\n campfire = Campfire('lucuma', TOKEN)\n Notify.init('Campfire mentions')\n for msg in campfire.stream('433622'):\n msg_body = msg['body']\n if msg_body and re.match(MENTIONS, msg_body):\n Notify.Notification.new(self.name, msg_body, 'dialog-information').show()", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/marsam/campfire", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "campfire", "package_url": "https://pypi.org/project/campfire/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/campfire/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/marsam/campfire" }, "release_url": "https://pypi.org/project/campfire/0.1/", "requires_dist": null, "requires_python": null, "summary": "A simple campfire api implementation.", "version": "0.1" }, "last_serial": 860833, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "abd3cfa5093228e029a00667f3b2c1aa", "sha256": "67abaa1cab664a64db0360fe718f6b40df2f640a5ee2b821b1471dd23c812879" }, "downloads": -1, "filename": "campfire-0.1.tar.gz", "has_sig": false, "md5_digest": "abd3cfa5093228e029a00667f3b2c1aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2591, "upload_time": "2013-09-09T13:37:55", "url": "https://files.pythonhosted.org/packages/04/9c/911c5f7d05fd4edd8ca219d87ccabdcef7fb1187044f799da6f8e1331596/campfire-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "abd3cfa5093228e029a00667f3b2c1aa", "sha256": "67abaa1cab664a64db0360fe718f6b40df2f640a5ee2b821b1471dd23c812879" }, "downloads": -1, "filename": "campfire-0.1.tar.gz", "has_sig": false, "md5_digest": "abd3cfa5093228e029a00667f3b2c1aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2591, "upload_time": "2013-09-09T13:37:55", "url": "https://files.pythonhosted.org/packages/04/9c/911c5f7d05fd4edd8ca219d87ccabdcef7fb1187044f799da6f8e1331596/campfire-0.1.tar.gz" } ] }