Skip to main content

Chatty.py

Chatty.py is a library made in Python for making Chatty bots.

Example

For a simple example, see example.py. An even simpler example is shown bellow:

import chatty

bot = chatty.Bot(name='example-bot', channel='hangout')

@bot.on_ready
def on_ready():
  print('Bot ready!')

@bot.on_message
def on_message(msg):
  print('User', msg.author, 'sent message:', msg)

@bot.on_command
def on_command(cmd):
  print('User', cmd.author, 'sent slash command:', cmd)

  if cmd.cmd == 'help':
    bot.send_msg(f'Help requested by @{cmd.author.name}')

bot.run()

Metadata

Release files for chattypy 0.1.3

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

Source distribution (sdist)

Source distribution for chattypy 0.1.3
File Size Uploaded Provenance Actions
chattypy-0.1.3.tar.gz 15.2 kB Without provenance Details for chattypy-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 30.1 kB

Release files / chattypy-0.1.3.tar.gz

Download URL chattypy-0.1.3.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
10e159f6d4d7d5e42344ec0b563694d784add2a17819592db9e947a53cc4cf60
BLAKE2b-256 checksum
How to use checksums
f9b9622425c675ea33625a5f0163d1185b95a3b075cc2dec5564eaa01b295022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.12

Release files / chattypy-0.1.3-py3-none-any.whl

Download URL chattypy-0.1.3-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1e9019cc234a25d9f62fc77e7b2f2fe0ea1d83914ed97c77e09e33f48bfa4e8
BLAKE2b-256 checksum
How to use checksums
7be8475b40947f1ad657636a133cf316b1e525d5f4cf4b13d9f5acf0b9cf91cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.12

Security for chattypy 0.1.3

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.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files No provenance

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