Client API¶
-
class
pydle.Client¶ pydle.Clientimplements the featureset ofpydle.BasicClientwith all the features in thepydle.featuresnamespace added. For the full reference, check thepydle.BasicClientdocumentation and the Feature API reference.
-
class
pydle.MinimalClient¶ pydle.MinimalClientimplements the featureset ofpydle.BasicClientwith some vital features in thepydle.featuresnamespace added, namely:For the full reference, check the
pydle.BasicClientdocumentation and the Feature API reference.
-
class
pydle.ClientPool(clients=None, eventloop=None)[source]¶ A pool of clients that are ran and handled in parallel.
-
class
pydle.BasicClient(nickname, fallback_nicknames=[], username=None, realname=None, eventloop=None, **kwargs)[source]¶ Base IRC client class. This class on its own is not complete: in order to be able to run properly, _has_message, _parse_message and _create_message have to be overloaded.
usersA
dictmapping a username to adictwith general information about that user. Available keys in the information dict:nickname: The user’s nickname.username: The user’s reported username on their source device.realname: The user’s reported real name (GECOS).hostname: The hostname where the user is connecting from.
channels-
connected¶ Whether or not we are connected.