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

Uploaded Source

Built Distribution

pyircsdk-1.3.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyircsdk-1.3.0.tar.gz
Algorithm Hash digest
SHA256 a376f205239d443f1e83a793804cd7555d35f3e027bfa5eda0e417fb3c6cbd0d
MD5 8c75616e270227fe67d1e0b13837153a
BLAKE2b-256 5eb314ddf2f7d38ff44019002c492db201eb70da3d47f356dce192a3409aaae5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyircsdk-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11f57fd90f273d195be4e722225179a78727c32e183c481b6b99584e2ee8b170
MD5 0d8dc2b5495af094cb98f0193a7e7809
BLAKE2b-256 ca70845508d32e67c39b6b572078dd0c70053e4b3e7db2180157b4060811d6dc

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