Skip to content

Python library for communicating with an weechat irc relay

License

Notifications You must be signed in to change notification settings

k0rmarun/pyweechat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyweechat

Python library for communicating with an weechat irc relay.

Note

This library is currently in alpha. Expect everything to change one day.

Usage

from pyweechat import WeeChatSocket
from pprint import pprint

w = WeeChatSocket(hostname="localhost", port=8000, use_ssl=False)
w.connect(password=None, compressed=True)
w.send("sync irc.robustirc.#icannotexist")
try:
    while True:
        ret = w.poll()
        if ret:
            pprint(vars(ret))
except KeyboardInterrupt:
    pass
w.disconnect()

About

Python library for communicating with an weechat irc relay

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages