Skip to main content

Async library for cleverbot

Project description

cleverbotfreeapi

aiocleverbot

An async python wrapper for cleverbot. Does not require API KEY

Downloads PyPI PyPI - Python Version PyPI - License

Installation

pip install aiocleverbot

Usage

from aiocleverbot import cleverbot
async def main():
  # Without context
  response=await cleverbot("Hello.")
  print(response)

  # With context
  # Please note that context should include messages sent to Cleverbot as well as the responses
  response=await cleverbot("Bad.", ["hi.", "How are you?"])
  print(response)



loop = asyncio.get_event_loop()
loop.run_until_complete(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiocleverbot-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

aiocleverbot-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file aiocleverbot-0.1.0.tar.gz.

File metadata

  • Download URL: aiocleverbot-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for aiocleverbot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9bf388ad72d82e46b617302be8b1f1620e0555700c2cdabaabcca2ac4b9eee4b
MD5 edb96e41853bb1dce60106411951d546
BLAKE2b-256 494737287bbd86a904de8bfc466bd2d26871c4b79c1d314a513492a9a3a34cd2

See more details on using hashes here.

File details

Details for the file aiocleverbot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aiocleverbot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for aiocleverbot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d9cfed5b7d4f779892b11f3d2f419594a05c1e7550730ad346b3752c2bfef2
MD5 1faacbdb3b42b177983b8ca083773134
BLAKE2b-256 43cc7629145b439cb27edc0ccd454b671da281c0c8087df18ab83014b6fca7f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page