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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cleverbot-scraper-0.1.tar.gz.
File metadata
- Download URL: cleverbot-scraper-0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eb0946e8305e68f3d8c50039e91145bd17cf1e9304277c5167d9af64944de87
|
|
| MD5 |
589066a225c3cd9c3e4fd8efc343a684
|
|
| BLAKE2b-256 |
355e0ecb3fec8561fac8cf40b3f44382607b5295e7099bffb90c5f25fc950719
|
File details
Details for the file cleverbot_scraper-0.1-py3-none-any.whl.
File metadata
- Download URL: cleverbot_scraper-0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0c749134b62b4f0e516da4e21dcfe49c1a1fc6128cffd4197028f85ac2f5886
|
|
| MD5 |
a02bb1d2282a5a4ae5378bddd61440ee
|
|
| BLAKE2b-256 |
de285d4e7d52728998fdc1f0e52a60aa1c8054f498abda4efb9e376fef0246ef
|