TwitchIRC
This module connects to the Twitch IRC as a basic listener client. It handles the ping pong and initial connection but otherwise does not send anything to Twitch therefore does not appear in the viewer list nor can it post to chat. As such, no oauth is required, it just works out of the box.
It can join multiple channels at the same time and will report which channel a message was received in.
Installation
Available on PyPi at https://pypi.org/project/twitchirc-drgreengiant/
pip install twitchirc_drgreengiant
Typical Usage
from twitchirc_drgreengiant import twitchirc
channels = frozenset(["drgreengiant", "hpxdreamer"])
with twitchirc.TwitchIrc(channels) as irc:
while True:
msg = irc.get_message(irc)
if not msg:
continue
print("Received a message:")
print(f"{msg.channel=} from {msg.username=}")
print(f"{msg.payload=}")
print()
Metadata
Release files for twitchirc-drgreengiant 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| twitchirc_drgreengiant-2.1.0.tar.gz | 14.1 kB | Without provenance | Details for twitchirc_drgreengiant-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| twitchirc_drgreengiant-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for twitchirc_drgreengiant-2.1.0-py3-none-any.whl |
Total release size: 28.7 kB
Release files / twitchirc_drgreengiant-2.1.0.tar.gz
| Download URL | twitchirc_drgreengiant-2.1.0.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6020dfe228ca136ae8cb22f250d2c1f9798d964381609206a9d15c3479ae1dce
|
|
BLAKE2b-256 checksum How to use checksums |
d0032da191d1d8d4723a5f09ebe0ba075a414faa58dc4c6d46d7fb4a3691eefd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Release files / twitchirc_drgreengiant-2.1.0-py3-none-any.whl
| Download URL | twitchirc_drgreengiant-2.1.0-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c0c2679bb8eb9172b903ed63818e73f9174c40b3504927cbd58d70f2f1e4c8b
|
|
BLAKE2b-256 checksum How to use checksums |
8b9771cc6ca135708c75c7fd59167f7dd385c020664e7d08beed2d501e6d1d0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.8
|
Security for twitchirc-drgreengiant 2.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.