ircclient
Simple IRC client interface.
Example
from ircclient.client import DispatchClient
client = DispatchClient(('localhost', 6667), blocking=True)
client.connect()
m = client.dispatch() # ircclient.struct.Message
assert m.type == 'CONNECTED' # connected message which is out of irc protocol
client('nick', 'testnick') # list args are joined. colons will be automatically added.
client('user 8 * :{name}', name='realname') # keyword args are formatted as raw string
while True:
m = client.dispatch() # raw=True option will make it returns raw text
print(m) # ircclient.struct.Message
Release files for ircclient 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ircclient-0.2.1.tar.gz | 5.8 kB | Details |
Release files / ircclient-0.2.1.tar.gz
| Download URL | ircclient-0.2.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41cee3712a6e5b0ae2fa6e1309aa6f0dd470971f8f277a129dcf2af2adfb8e7c
|
|
BLAKE2b-256 checksum How to use checksums |
a9c1f118b1064f719deab17c0caeead52d77cedd7e913d3cb49ca6c83f2e37c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |