Skip to main content

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.

Release files for cleverwrap 0.3.0.2

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

Source distribution (sdist)

Source distribution for cleverwrap 0.3.0.2
File Size Uploaded
cleverwrap-0.3.0.2.tar.gz 3.6 kB Details

Built distribution (wheel)

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

Total release size: 9.0 kB

Release files / cleverwrap-0.3.0.2.tar.gz

Download URL cleverwrap-0.3.0.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6ea44e962c3798688ae4b0a1cfe39f7e0cf0f4581768d8c63f6051eb162d3620
BLAKE2b-256 checksum
How to use checksums
0257ffb3ffc89b23a6704be9db3b58ce410bc58b0371590f15a31afbb34690e3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / cleverwrap-0.3.0.2-py3-none-any.whl

Download URL cleverwrap-0.3.0.2-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6cc2a33181ee8351582602c96508420d3999b78b7d0857e6b1df7046659a352
BLAKE2b-256 checksum
How to use checksums
613789aca4f26b8338c7682c80259ec8392c5c8899d1441e8068919939198fbd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.0.2 This release

2 release files

0.2.3.6

1 release file

0.2.3.5

1 release file

0.2.3.2

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.0

1 release file

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