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

Uploaded Source

Built Distribution

pyircsdk-1.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyircsdk-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2b07938f82f102cde8af687218169bb335dff4e88945e21b400e28c619424b0e
MD5 b0c90c0dd500931daf7c05e0f9f6c6e8
BLAKE2b-256 3ca9417fee7f94332af2c4e5a400e8741ed9aed32094bcfb6df85e02c006c0d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyircsdk-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ff61cf943ba7ff8b76740083224d5aea49deee0b1f680dcddebb6b0daa559b
MD5 0c2e9121282079e3e60680ee805860e7
BLAKE2b-256 10b9206b085044f960d23ed399cf1a0852a634b53700a8d272fe4b21905040dd

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