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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyircsdk-1.7.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyircsdk-1.7.1.tar.gz
  • Upload date:
  • Size: 6.0 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.1.tar.gz
Algorithm Hash digest
SHA256 714fa7b35ad8a8956a961283e04ab9f0cff85b57685bd2392e077c7c7b921306
MD5 e385aef25114c59d788898642be654ee
BLAKE2b-256 d25ed5ef54ad5a19fc2d1350d7e93d5c7566bfb8d6fb4273cc5d0adf533c3218

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyircsdk-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 403be5878ef584592893c702149d36f288b1c8d82d46d3e8eb7df94ee2adc19f
MD5 283223f9edfed1b7b9389e68d9b85fc1
BLAKE2b-256 0bc91637bd0ed70c25d88e83690a6ce891bcc41c813885d46e11561fd908528f

See more details on using hashes here.

Supported by

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