Skip to main content

Simple client interface.

Project description


Simple IRC client interface.


from ircclient.client import DispatchClient

client = DispatchClient(('localhost', 6667), blocking=True)

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ircclient, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size ircclient-0.2.1.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page