twitchircpy
twitchircpy is a wrapper for the Twitch IRC used for creating chat bots.
Installing
Installing from PyPI:
pip install twitchircpy
Installing from source:
pip install git+https://github.com/IsaacAKAJupiter/twitchircpy.git
You might have to install with these commands if the above installs for Python 2.
pip3 install twitchircpy
pip3 install git+https://github.com/IsaacAKAJupiter/twitchircpy.git
Documentation/Wiki
https://github.com/IsaacAKAJupiter/twitchircpy/wiki
Small Example
import twitchircpy
bot = twitchircpy.Bot("oauth", "nick", "!", "jups", True)
@bot.event
def on_connect():
print("Connected!")
@bot.event
def on_message(message):
if "HeyGuys" in message.content:
bot.send_message(message.channel, f"@{message.user} HeyGuys")
@bot.event
def on_sub(sub):
bot.send_message(sub.channel, f"Thank you @{sub.login} for subbing!")
bot.start()
You can find examples in the examples directory.
Library Requirements
Good news! This library only uses built-in Python libraries.
Python Version
Tested with Python 3.7
Discord
Please join the Discord if you need help with the library or just want to chat!
Metadata
Release files for twitchircpy 1.0.5
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 |
|---|---|---|---|---|
| twitchircpy-1.0.5.tar.gz | 25.3 kB | Without provenance | Details for twitchircpy-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| twitchircpy-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for twitchircpy-1.0.5-py3-none-any.whl |
Total release size: 71.9 kB
Release files / twitchircpy-1.0.5.tar.gz
| Download URL | twitchircpy-1.0.5.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e81f60ea7c6bf79d30d725c4253c630c882d3b5ae763d80118287f12e728f6c5
|
|
BLAKE2b-256 checksum How to use checksums |
d8b6a5eb1a0493121281827f5f12c6a5f25edb65417d392da58a07918efb7758
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8
|
Release files / twitchircpy-1.0.5-py3-none-any.whl
| Download URL | twitchircpy-1.0.5-py3-none-any.whl |
|---|---|
| Size | 46.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3ee6f9ae544e40f2527360572b0c666d5b786646ee3d12e3fb77bddc04b1d5e
|
|
BLAKE2b-256 checksum How to use checksums |
abeacf322c65e347a513c1db6edbba2fa544e783eda475be9d6339290c98118e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8
|
Security for twitchircpy 1.0.5
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.