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

Uploaded Source

Built Distribution

pyircsdk-0.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyircsdk-0.0.0.tar.gz
Algorithm Hash digest
SHA256 edc928af21b134340a5c6484cc04a58b4260041c55b9970e0daefbe7ce9ab6ed
MD5 d9f148c7832a51e79a3d9b2514bea915
BLAKE2b-256 56bc60b5ec22983ad9983a3612349dfe52a4e97511ed39c25328a4c45f833098

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyircsdk-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10d5fec115828cd7e6fbfd686537ae395c85d85f9fe5b74e9a4066202c58586a
MD5 23e4ae92b77c58e6cc903454dbd4c4a3
BLAKE2b-256 14edc3654d274c69c04f72af625233eaa57b3a6efba8ca64818a480143c34abf

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