Skip to main content

TwitchAIO

Asynchronous Twitch interface for implementing custom chatbots

Features

  • Send/receive Twitch chat messages
  • Command system for chat interaction
  • Interface with the Twitch API to allow automating parts of the stream
  • Websocket based events with the Twitch PubSub system

Getting started

  1. Install TwitchAIO with pip install twitchaio
  2. Register your application on https://dev.twitch.tv/console
  3. Fill in or create client.json in your project directory with the application data:
{ 
    "Client-ID": <your client id>,
    "Client-Secret": <your client secret>,
    "RedirectURI": <your redirect uri>
}
  1. You're ready to use TwitchAIO

Usage

Check the examples directory on how to use TwitchAIO

Future updates

The following items are being worked on and will be released in the future

  • Interface with emote extensions: BTTV, FFZ and SevenTV
  • Interface with stream tools: StreamElements and StreamLabs

The following items are being considered and may or may not end up getting implemented

  • Ability to trigger commands using regex
  • Setting up a webpage that shows the list of commands

Metadata

Release files for TwitchAIO 0.5.post0

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

Source distribution (sdist)

Source distribution for TwitchAIO 0.5.post0
File Size Uploaded
TwitchAIO-0.5.post0.tar.gz 17.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TwitchAIO 0.5.post0
File Interpreter ABI Platform
TwitchAIO-0.5.post0-py3-none-any.whl Python 3 none any Details

Total release size: 44.7 kB

Release files / TwitchAIO-0.5.post0.tar.gz

Download URL TwitchAIO-0.5.post0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
845c40dbf72557c447d0e7e691010da61a00e04bd0ad39d58b280204fe49cbff
BLAKE2b-256 checksum
How to use checksums
e7e0edbf27b55d3b915abd20c015034cfe8386b553197e9a6d03ab40167da866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release files / TwitchAIO-0.5.post0-py3-none-any.whl

Download URL TwitchAIO-0.5.post0-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4c4289353dc888a094b110ff51004c8baf17670de220e117f96e64bca6aab90
BLAKE2b-256 checksum
How to use checksums
b8f35d3d8e49d22cd442ec0769eb4f0828967be6f9c80d6cd5725a3501f9aaba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.5.post0 This release

2 release files

0.5

2 release files

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