{ "info": { "author": "David Reid", "author_email": "dreid@dreid.org", "bugtrack_url": null, "classifiers": [], "description": "twixxy\n======\n\n.. image:: https://secure.travis-ci.org/dreid/twixxy.png?branch=master\n :target: http://travis-ci.org/dreid/twixxy\n\ntwixxy - twiggy + twisted\n\ntwixxy consists primarily of twisted log observer which can installed to\nforward calls to ``log.msg`` and ``log.err`` to the appropriate Twiggy\nlog methods.\n\nUsing with twistd\n-----------------\n\ntwixxy provides a log observer factory compatible with\n``twistd --logger``.\n\n::\n\n > twistd --logger=twixxy.observerFactory -n web --path=.\n 2012-06-19T22:09:43Z:INFO:twisted:Log opened.\n 2012-06-19T22:09:43Z:INFO:twisted:twistd 12.1.0 (/Users/dreid/.virtualenvs/twixxy/bin/python 2.7.1) starting up.\n 2012-06-19T22:09:43Z:INFO:twisted:reactor class: twisted.internet.selectreactor.SelectReactor.\n 2012-06-19T22:09:43Z:INFO:twisted:Site starting on 8080\n 2012-06-19T22:09:43Z:INFO:twisted:Starting factory \n\nReplacing Twisted's Logging without twistd.\n-------------------------------------------\n\n::\n\n import sys\n import twiggy\n from twisted.python import log\n from twixxy import TwiggyLoggingObserver\n\n twiggy.quickSetup(file=sys.stdout)\n observer = TwiggyLoggingObserver('example')\n log.startLoggingWithObserver(observer.emit)\n\n log.msg('Hello, World!')\n\nUsing in conjunction with Twisted's logging.\n--------------------------------------------\n\n::\n\n import sys\n import twiggy\n from twisted.python import log\n from twixxy import TwiggyLoggingObserver\n\n twiggy.quickSetup(file='twiggy.log')\n observer = TwiggyLoggingObserver('example2')\n observer.start()\n log.startLogging(sys.stdout)\n\n log.msg('Hello, World!')", "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/dreid/twixxy", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "twixxy", "package_url": "https://pypi.org/project/twixxy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/twixxy/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dreid/twixxy" }, "release_url": "https://pypi.org/project/twixxy/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Twisted integration with the twiggy logging library.", "version": "0.1.1" }, "last_serial": 749522, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f69d95481cdf1313a4dcdce4f8aacfc7", "sha256": "3cef8b241972da71c18406d5147638034bb9fb027275cd692ca72bd37c698dfd" }, "downloads": -1, "filename": "twixxy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f69d95481cdf1313a4dcdce4f8aacfc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3352, "upload_time": "2013-02-12T19:02:32", "url": "https://files.pythonhosted.org/packages/17/91/18b3433f6beaa499f445d5043391ea5d0eb32977647accf95fcce2366b31/twixxy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bf8df677201cc95ade496ec7e61980ac", "sha256": "9a1317932a482d95b77e799781d71cc8a8dc6a919e7b84e344b772c8aafc2020" }, "downloads": -1, "filename": "twixxy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bf8df677201cc95ade496ec7e61980ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3516, "upload_time": "2013-02-12T20:46:26", "url": "https://files.pythonhosted.org/packages/e1/3c/134aa01466df33d87e189e838d09e86c427b486a84741ad364c6354852ee/twixxy-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bf8df677201cc95ade496ec7e61980ac", "sha256": "9a1317932a482d95b77e799781d71cc8a8dc6a919e7b84e344b772c8aafc2020" }, "downloads": -1, "filename": "twixxy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bf8df677201cc95ade496ec7e61980ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3516, "upload_time": "2013-02-12T20:46:26", "url": "https://files.pythonhosted.org/packages/e1/3c/134aa01466df33d87e189e838d09e86c427b486a84741ad364c6354852ee/twixxy-0.1.1.tar.gz" } ] }