This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

twixxy - twiggy + twisted

twixxy consists primarily of twisted log observer which can installed to forward calls to log.msg and log.err to the appropriate Twiggy log methods.

Using with twistd

twixxy provides a log observer factory compatible with twistd --logger.

> twistd --logger=twixxy.observerFactory -n web --path=.
2012-06-19T22:09:43Z:INFO:twisted:Log opened.
2012-06-19T22:09:43Z:INFO:twisted:twistd 12.1.0 (/Users/dreid/.virtualenvs/twixxy/bin/python 2.7.1) starting up.
2012-06-19T22:09:43Z:INFO:twisted:reactor class: twisted.internet.selectreactor.SelectReactor.
2012-06-19T22:09:43Z:INFO:twisted:Site starting on 8080
2012-06-19T22:09:43Z:INFO:twisted:Starting factory <twisted.web.server.Site instance at 0x10b718fc8>

Replacing Twisted’s Logging without twistd.

import sys
import twiggy
from twisted.python import log
from twixxy import TwiggyLoggingObserver

twiggy.quickSetup(file=sys.stdout)
observer = TwiggyLoggingObserver('example')
log.startLoggingWithObserver(observer.emit)

log.msg('Hello, World!')

Using in conjunction with Twisted’s logging.

import sys
import twiggy
from twisted.python import log
from twixxy import TwiggyLoggingObserver

twiggy.quickSetup(file='twiggy.log')
observer = TwiggyLoggingObserver('example2')
observer.start()
log.startLogging(sys.stdout)

log.msg('Hello, World!')
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
twixxy-0.1.1.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Feb 12, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting