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

Uploaded Source

Built Distribution

pyircsdk-1.5.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyircsdk-1.5.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d71cf9d95084e02c505cdcfa7145a7d811a45a4e8e82a7d61937ce5b947e7d3d
MD5 632ff409efaeef9ce6e0a77d4784bcab
BLAKE2b-256 2ee8ba5c1afc5de4541e5c6683e2c4b060926a37a3dafbea568c5d173c28e20d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyircsdk-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8286dfcba3664e3e29553ebc6f9c88b45d3ea7997dd4507e00d79f52c640d4f
MD5 6b75093571a1ac3185d106945166e045
BLAKE2b-256 0d48d4c1e9862898661c637f2bb15a66a0c7861d209bcaa55b7d950c9dbc9bbe

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