Metadata-Version: 2.1
Name: cleverbot-scraper
Version: 0.2.6
Summary: Free cleverbot without headless browser
Home-page: https://github.com/matheusfillipe/cleverbot_scraper
Author: Matheus Fillipe
Author-email: mattf@tilde.club
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Internet
Requires-Python: >=3.4
Description-Content-Type: text/markdown
License-File: LICENSE

# Cleverbot Scraper

Simple free cleverbot library that doesn't require running a heavy ram wasting headless web browser to actually chat with the bot, only relying on the requests module. The api is wrapped by the `Cleverbot` class and you can use the `send` module to receive responses from cleverbot.

## Try it

Install and test with:
```bash
pip3 install cleverbot-scraper
python3 -m cleverbot
```
The last command will start a live session with the cleverbot.

You can also make cleverbot chat with itself with:
```bash
python3 -m cleverbot auto
```

## Examples

### Chat with the bot

```python
from cleverbot import Cleverbot
bot = Cleverbot()
print("Start the conversation, press Ctrl-c to stop \n")
try:
    while True:
        print(bot.send(input(">> ")))
except KeyboardInterrupt:
    print("Exiting.")
```

### Make the bot chat with itself

```python
from cleverbot import Cleverbot
alice = Cleverbot()
bob = Cleverbot()
message = "Hi there! How are you doing?"
print("Press Ctrl-c to stop \n")
try:
    while True:
        print("Bob: ", message)
        message = alice.send(message)
        print("Alice: ", message)
        message = bob.send(message)
except KeyboardInterrupt:
    print("Exiting.")
```


