python extension for fast IRC mask matching and collapsing
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
COPYING
MANIFEST.in
README.rst
example.py
ircmatch.c
ircmatch.h
ircmatch_python.c
setup.py

README.rst

ircmatch

This is a python extension which provides string comparison and matching functions from Atheme. They are hand-optimized for high performance when matching IRC hostmasks.

Usage

import ircmatch

print ircmatch.match(ircmatch.rfc1459, 'kaniini!*@*', 'kaniini!~kaniini@localhost')

See also help(ircmatch) and example.py in this source distribution.