Skip to main content

A wrapper for the official cleverbot.com API

Project description

CleverWrap.py

Build Status codecov

A simple python wrapper class to interact with the official CleverBot API.

This package was created to run on python3

Installing

You can install cleverwrap.py from pypi using: pip install cleverwrap

You can also clone this repository and import the library directly.

Usage

>>> from cleverwrap import CleverWrap
>>> cw = CleverWrap("API_KEY")
>>> cw.say("Hello CleverBot.")
"Hello Human."
>>> cw.reset() # resets the conversation ID and conversation state.
>>> conv = cw.new_conversation()  # Start a new conversation with CleverBot
>>> conv.say("Hellon there.")
"Hello Human."
>>> conv.reset()  # Reset the conversation state

License

Copyright 2017 Andrew Edwards using the MIT License.

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

cleverwrap-0.3.0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

cleverwrap-0.3.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file cleverwrap-0.3.0.2.tar.gz.

File metadata

  • Download URL: cleverwrap-0.3.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for cleverwrap-0.3.0.2.tar.gz
Algorithm Hash digest
SHA256 6ea44e962c3798688ae4b0a1cfe39f7e0cf0f4581768d8c63f6051eb162d3620
MD5 193e78f31182f9e35a1170fe0b48083a
BLAKE2b-256 0257ffb3ffc89b23a6704be9db3b58ce410bc58b0371590f15a31afbb34690e3

See more details on using hashes here.

File details

Details for the file cleverwrap-0.3.0.2-py3-none-any.whl.

File metadata

  • Download URL: cleverwrap-0.3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for cleverwrap-0.3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d6cc2a33181ee8351582602c96508420d3999b78b7d0857e6b1df7046659a352
MD5 629bbec6bfa999ae6732f45008f52ec5
BLAKE2b-256 613789aca4f26b8338c7682c80259ec8392c5c8899d1441e8068919939198fbd

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