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.2.tar.gz
(5.6 kB
view details)
File details
Details for the file ircmatch-1.2.tar.gz
.
File metadata
- Download URL: ircmatch-1.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d48c8208bb3684f0d6e9d14558408207281289d06a72284f020c9534ed12c9ae |
|
MD5 | a65601d8e527f9afa1ef363cd5d6dada |
|
BLAKE2b-256 | db0c0de8d0952ae0f6b6be1331e2f5bfcdf76206d70b0a542bd142c0e1fdca70 |