Skip to main content
Help us improve Python packaging – donate today!

Simple client interface.

Project Description

https://travis-ci.org/youknowone/ircclient.svg?branch=master

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 history Release notifications

This version
History Node

0.2.1

History Node

0.2.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ircclient-0.2.1.tar.gz (5.8 kB) Copy SHA256 hash SHA256 Source None Dec 29, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page