Skip to main content

pyIRCSDK is a Python library for creating IRC bots and clients. It is designed to provide granular access to raw mesages and to provide an event emitter like interface for handling messages.

Project description

pyIRCSDK

pyIRCSDK is a Python library for creating IRC bots and clients. It is designed to provide granular access to raw mesages and to provide an event emitter like interface for handling messages.

Installation

pip install pyIRCSDK

Usage

from pyIRCSDK import IRCClient

client = IRCClient("irc.freenode.net", 6667, "pyIRCSDK", "pyIRCSDK")
client.event.on("message", lambda message: print(message))
client.event.on("connected", lambda: client.send("JOIN #pyIRCSDK"))
client.event.on("raw", lambda message: print(message))
client.connect()

More event to come soon:

  • connected
  • disconnected
  • join
  • part
  • kicked
  • message
  • raw

Project details


Download files

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

Source Distribution

pyircsdk-1.7.2.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyircsdk-1.7.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file pyircsdk-1.7.2.tar.gz.

File metadata

  • Download URL: pyircsdk-1.7.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for pyircsdk-1.7.2.tar.gz
Algorithm Hash digest
SHA256 e90041f348fad470b57241c73ec9e2daafa4f19ce891d280d556ab203de37f10
MD5 a85cd98b28955287e5e22450e0cb5854
BLAKE2b-256 18d8200b516e12591c392a155e87779729b480067e229b6e6692f88a55e77def

See more details on using hashes here.

File details

Details for the file pyircsdk-1.7.2-py3-none-any.whl.

File metadata

  • Download URL: pyircsdk-1.7.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for pyircsdk-1.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8371f93c23c0b2a93b591d10e3693ab1a368b11369939b4023cba8c477f120d5
MD5 2df4f34546e45810d1dee42f6ce078ba
BLAKE2b-256 d219a191700b2fd515833a8b07bc9a7d2fe25226f4c100d010c07fa18f2d1a99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page