library for matching IRC masks based on atheme
Project description
# 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
```python
import ircmatch
print ircmatch.match(0, 'kaniini!*@*', 'kaniini!~kaniini@localhost')
```
See also `help(ircmatch)` and `example.py` in this source distribution.
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
```python
import ircmatch
print ircmatch.match(0, 'kaniini!*@*', 'kaniini!~kaniini@localhost')
```
See also `help(ircmatch)` and `example.py` in this source distribution.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ircmatch-1.0.tar.gz
(5.3 kB
view hashes)