Skip to main content

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 files for interstat 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for interstat 0.2.2
File Size Uploaded
interstat-0.2.2.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for interstat 0.2.2
File Interpreter ABI Platform
interstat-0.2.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 22.1 kB

Release files / interstat-0.2.2.tar.gz

Download URL interstat-0.2.2.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
078aca3958232060cdf20721b4de1f21019a7b19adeabd4bf3882d9aeb55d84c
BLAKE2b-256 checksum
How to use checksums
137db647a0dad2d16dc5bd4f189cd62ec836d0c9d01f8342cad033ad246a51df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / interstat-0.2.2-py2.py3-none-any.whl

Download URL interstat-0.2.2-py2.py3-none-any.whl
Size 13.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
15c1c93853d51df33cf5a508f2993efa5d6705d8135bcdf0478af3216343a9c4
BLAKE2b-256 checksum
How to use checksums
5d3d516f0d49e38305d31c74695e5be9e28948288dfa9c83ff923cd89698bd13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page