cleverwrap-0.3.0.2


توضیحات

A wrapper for the official cleverbot.com API
ویژگی مقدار
سیستم عامل -
نام فایل cleverwrap-0.3.0.2
نام cleverwrap
نسخه کتابخانه 0.3.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Andrew Edwards
ایمیل نویسنده andrewthomasedwards@gmail.com
آدرس صفحه اصلی https://github.com/snoonetIRC/cleverwrap.py
آدرس اینترنتی https://pypi.org/project/cleverwrap/
مجوز MIT
# CleverWrap.py [![Build Status](https://travis-ci.com/snoonetIRC/cleverwrap.py.svg?branch=master)](https://travis-ci.com/snoonetIRC/cleverwrap.py) [![codecov](https://codecov.io/gh/snoonetIRC/cleverwrap.py/branch/master/graph/badge.svg)](https://codecov.io/gh/snoonetIRC/cleverwrap.py) A simple python wrapper class to interact with the official [CleverBot API](http://www.cleverbot.com/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](http://opensource.org/licenses/MIT).


نحوه نصب


نصب پکیج whl cleverwrap-0.3.0.2:

    pip install cleverwrap-0.3.0.2.whl


نصب پکیج tar.gz cleverwrap-0.3.0.2:

    pip install cleverwrap-0.3.0.2.tar.gz