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

Uploaded Source

Built Distribution

pyircsdk-1.5.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyircsdk-1.5.2.tar.gz
Algorithm Hash digest
SHA256 f7c75332462dc019d40a3ed22765f4a35d4aa0c1ce8ee60805febbeaebbe4384
MD5 929aa67df4e6f9f0904d71412f7aaa95
BLAKE2b-256 827cca23569885eb58839b2af77111d9598226f277837ee47b45517d77303a84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyircsdk-1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 261e589149215b1284a344b1a205c7226691e6e29936f6b8a710cf9a066ef92e
MD5 c7ed75af4179e502a5b841e48bac6e0e
BLAKE2b-256 fd8815d83c0640ad8bc80e64fcac7135bc5b16a73bd1a8c84cacf4bd203a7ae3

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