Skip to main content

Chatbase

Supported python versions MIT License PyPi Package Version PyPi status

aioChatbase is a library for Chatbase Generic Message API written in Python 3.6 with asyncio and aiohttp. It helps to integrate Chatbase with your chatbot.

How to install

python3.6 -m pip install aioChatbase

How to use

  1. Import Chatbase
from aiochatbase import Chatbase
  1. Create cb instance
cb = Chatbase(API_KEY, BOT_PLATFORM)
  1. Register handled message
await cb.register_message(user_id='123456', intent='start')
  1. Register non-handled message
await cb.register_message(user_id='123456', intent='unknown message', not_handled=True)
  1. Register url click
await cb.register_click(url='google.com')
  1. Close instance on your app shutdown
await cb.close()

Examples

Check more examples at the /examples folder

Wiki

Feel free to read our Wiki

Release files for aioChatbase 1.0.0

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

Source distribution (sdist)

Source distribution for aioChatbase 1.0.0
File Size Uploaded
aioChatbase-1.0.0.tar.gz 10.3 kB Details

Built distribution (wheel)

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

Total release size: 27.9 kB

Release files / aioChatbase-1.0.0.tar.gz

Download URL aioChatbase-1.0.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c1547b3a7f859f056ea9ed2899de292ea89d7ff93e86eb48535fed3dac58b4eb
BLAKE2b-256 checksum
How to use checksums
8d6e2563c40565fa0db3f7917aa387109d533f6a0621a9327d440c310c9de92c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

Release files / aioChatbase-1.0.0-py3-none-any.whl

Download URL aioChatbase-1.0.0-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a68c87666a7d566f5ef466449cd276b3de177973245e7b40b6dc4b8bd04be529
BLAKE2b-256 checksum
How to use checksums
fb319876350e33911079aa7fbdc8bd953b377363686bb8f38c2acea68e366470
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.0

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

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