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!

An HTML formatter for IRC log files

Project Description

An HTML formatter for IRC log files. Currently, only the format used by Omnipresence is supported; look in interstat.formats for an idea of how to add more.

Install it with:

$ pip install interstat

Then run:

$ interstat LOGFILE HTMLFILE

If you want to change the generated HTML or CSS, copy the files in the interstat/templates directory that you want to override, make your changes, and run:

$ interstat --template-dir my-templates/ LOGFILE HTMLFILE

For more options, try:

$ interstat --help

Interstat also provides a Python API, in case that’s more your thing:

>>> import interstat
>>> # Convert an entire log file:
>>> interstat.file_as_html(open('irc.log'), 'omnipresence')
>>> # Or just some text with embedded mIRC formatting codes:
>>> interstat.line_as_html('\x02Bold\x02 and \x1Funderlined\x1F, oh my!')

Report bugs and make feature requests on Interstat’s GitHub project page.

Release History

Release History

This version
History Node

0.2.2

History Node

0.2.1

History Node

0.2

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
interstat-0.2.2-py2.py3-none-any.whl (13.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jul 16, 2015
interstat-0.2.2.tar.gz (8.7 kB) Copy SHA256 Checksum SHA256 Source Jul 16, 2015

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