Skip to main content

Twitch WS IRC

how to install

You can install the lib with pip from this repo directly.

pip install git+ssh://git@gitlab.com/henny022/twitch-ws-irc.git#egg=twitch-ws-irc

how to use

proper examples will follow

  • make an Event Handler
from twitch_ws_irc.events import *

class ExampleEventHandler(EventHandler):
    async def on_privmsg(self, event: PrivMsgEvent):
        print(f"{event.user}: {event.message}")
        if event.message == '!test':
            await event.reply(f"hey {event.user}")
        if event.message == '!stop':
            await event.reply('bye')
            await event.websocket.close()
  • start the bot
from twitch_ws_irc.client import TwitchWSIRCClient

async def bot():
    client = TwitchWSIRCClient('twitch token', 'twitch username', 'target channel')
    await client.start(ExampleEventHandler())
    await client.join()

Metadata

Release files for twitch-ws-irc 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for twitch-ws-irc 0.0.7
File Size Uploaded Provenance Actions
twitch-ws-irc-0.0.7.tar.gz 13.2 kB Without provenance Details for twitch-ws-irc-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for twitch-ws-irc 0.0.7
File Interpreter ABI Platform Actions
twitch_ws_irc-0.0.7-py3-none-any.whl Python 3 none any Details for twitch_ws_irc-0.0.7-py3-none-any.whl

Total release size: 28.9 kB

Release files / twitch-ws-irc-0.0.7.tar.gz

Download URL twitch-ws-irc-0.0.7.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6300e31693bcdc8bb462d24ccc0716cdaf8eb389dcc21f59fa64c2b54a84a56f
BLAKE2b-256 checksum
How to use checksums
4436ec66d376eed0f67a99d3cb84b2cd56e74e2af189c3b083176e42c7f0ec51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.11

Release files / twitch_ws_irc-0.0.7-py3-none-any.whl

Download URL twitch_ws_irc-0.0.7-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd2a66e0d786c384cb250cf943d14c44ff628c9abccd41d90da1ccd1cad2ff75
BLAKE2b-256 checksum
How to use checksums
dcff14b4067b1f161ac52097b3edb501981f594df9d2292c3e0a1baa198d65ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.11

Security for twitch-ws-irc 0.0.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page