Skip to main content

TwitchPyRC

Yet another generic Twitch IRC interface that probably works

Installation

pip install TwitchPyRC

You will also need an oauth token which can be obtained from https://twitchapps.com/tmi/. Simply replace [oauth token] in code samples with your own token.

Usage

TwitchPyRC can be used in a few different ways. The easiest being as follows:

import TwitchPyRC

bot = TwitchPyRC.CommandBot("[oauth token]", ["channel_1", "channel_2", "channel_3"])


@bot.command(["!test", TwitchPyRC.Variable("value"), TwitchPyRC.Variable("value2", int, default=5)], cooldown=5)
def my_command(value, value2):
    print("Test command used with arguments: ", value, value2)


bot.start()

It is that easy!

More documentation coming soon

Metadata

Release files for TwitchPyRC 1.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 TwitchPyRC 1.0.7
File Size Uploaded Provenance Actions
TwitchPyRC-1.0.7.tar.gz 14.4 kB Without provenance Details for TwitchPyRC-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for TwitchPyRC 1.0.7
File Interpreter ABI Platform Actions
TwitchPyRC-1.0.7-py3-none-any.whl Python 3 none any Details for TwitchPyRC-1.0.7-py3-none-any.whl

Total release size: 32.7 kB

Release files / TwitchPyRC-1.0.7.tar.gz

Download URL TwitchPyRC-1.0.7.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
88e69aa3c0f49875cd47fc72c78ec4a1823747cf1e6536c2eb1148ecf60601a5
BLAKE2b-256 checksum
How to use checksums
85d9d347f69edfd006f1607d012b8fb82b299881c0bf653410ab94225e82219c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1

Release files / TwitchPyRC-1.0.7-py3-none-any.whl

Download URL TwitchPyRC-1.0.7-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3112da3f9587b123d18a05d9ee735e9443fdac8101decdd78e81e3ee35437b47
BLAKE2b-256 checksum
How to use checksums
3dc392305b4f8c17c2965dffe7becce413e91a2111fc7b587a7d8cb95dff8e19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.7.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1

Security for TwitchPyRC 1.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