Free cleverbot without headless browser
Project description
Cleverbot Scrapper Lib
Simple free cleverbot library that doesn't require running a heavy ram wasting headless web browser to actually chat with the bot, all that it uses is the requests module. Also supports simultaneously different sessions, which means, different parallel conversations.
Try it
Install and test with:
pip3 install cleverbot-scrapper
python3 -m "cleverbot"
The last command will start a live session with the cleverbot(for testing purposes).
Example
from cleverbot import cleverbot
# With context and session
# An ongoing conversation with the first question as "How are you?"
print("How are you?")
print(cleverbot(input(">>"), ["hi.", "How are you?"], "How are you?"))
while True:
print(cleverbot(input(">>"), session="How are you?"))
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
cleverbot-scraper-0.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for cleverbot_scraper-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0c749134b62b4f0e516da4e21dcfe49c1a1fc6128cffd4197028f85ac2f5886 |
|
MD5 | a02bb1d2282a5a4ae5378bddd61440ee |
|
BLAKE2b-256 | de285d4e7d52728998fdc1f0e52a60aa1c8054f498abda4efb9e376fef0246ef |