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.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

pyircsdk-1.7.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyircsdk-1.7.0.tar.gz
  • Upload date:
  • Size: 6.5 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.0.tar.gz
Algorithm Hash digest
SHA256 993a03360df1fc808a9bf252fdfb3b046889743fd74337a7edeeb4878d894d13
MD5 6ada96d9ddab117a087c28aaa3e501b1
BLAKE2b-256 e53f4bfc5bd6d7b1b9d1c7c95a33bb4e9b22470464b741990c37d2dbce1d2930

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyircsdk-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37b362b97a84ff7b36ed9d0ceb350d5869aedfbce0fbfe6590dfb60ac726f7c8
MD5 075a3406b307422c7750f7a7a321cf87
BLAKE2b-256 1ef502c8032b8e05be7ea9eeab9938dde36cca0cfc6989282b0d189f1d7c1ebd

See more details on using hashes here.

Supported by

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