{ "info": { "author": "ims0rry", "author_email": "dmr0@protonmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "

PyChatbotLib

\n
\nExclusive library for creating chatbots.
\nIt uses a very simple neural network which helps to recognize possible answers to messages.
\nYou just need to train it in chats with 2 types of messages: reply and original.
\n
\n

Installation

\n\n```pip install pychatbotlib```\n

Example of usage

\n\n```python\nimport telebot # pip3 install PyTelegramBotAPI==2.2.3\nfrom time import sleep\nfrom chatbot import Chatbot\nbot = telebot.TeleBot('APIKEY')\nchatbot = Chatbot(\"chatbot_data\")\n\n@bot.message_handler(content_types=[\"text\"])\ndef handle_message(message):\n try:\n chatbot.add_data(message.text, message.reply_to_message.text)\n answer = chatbot.get_reply(message.text)\n if answer is not None:\n bot.reply_to(message, answer)\n except Exception as e:\n answer = chatbot.get_reply(message.text)\n if answer is not None:\n bot.reply_to(message, answer)\n print(\"Not a reply\")\n\nwhile True:\n try:\n bot.polling(none_stop=True)\n except Exception as e:\n bot.polling(none_stop=True)\n\n ```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/1M50RRY/pychatbotlib", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pychatbotlib", "package_url": "https://pypi.org/project/pychatbotlib/", "platform": "", "project_url": "https://pypi.org/project/pychatbotlib/", "project_urls": { "Homepage": "https://github.com/1M50RRY/pychatbotlib" }, "release_url": "https://pypi.org/project/pychatbotlib/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Library for creating chatbots", "version": "1.0.1" }, "last_serial": 4293316, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "5ee7b61d65217ffe86f27ab85aab04f1", "sha256": "b532801d7b2b2567f440d71231daf19aabcd7366e1794349e714c3af5b16ecd7" }, "downloads": -1, "filename": "pychatbotlib-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5ee7b61d65217ffe86f27ab85aab04f1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3401, "upload_time": "2018-09-20T16:14:07", "url": "https://files.pythonhosted.org/packages/59/2f/af73fc6606eea2f1c53a83fef0d24450b955ec0b4784ea2c547147145bbd/pychatbotlib-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "df26960dbe46b3c7b0124a206cd56895", "sha256": "2de611fb7a1adfadeb26608a1182b5f0d34cd3a71d00914f0dc9098961ebcc41" }, "downloads": -1, "filename": "pychatbotlib-1.0.1.tar.gz", "has_sig": false, "md5_digest": "df26960dbe46b3c7b0124a206cd56895", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2728, "upload_time": "2018-09-20T16:14:09", "url": "https://files.pythonhosted.org/packages/88/52/1f5a288aafb1cc6cc0bf89bb345f062cf075186b7bdbc34313c9507df4b0/pychatbotlib-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5ee7b61d65217ffe86f27ab85aab04f1", "sha256": "b532801d7b2b2567f440d71231daf19aabcd7366e1794349e714c3af5b16ecd7" }, "downloads": -1, "filename": "pychatbotlib-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5ee7b61d65217ffe86f27ab85aab04f1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3401, "upload_time": "2018-09-20T16:14:07", "url": "https://files.pythonhosted.org/packages/59/2f/af73fc6606eea2f1c53a83fef0d24450b955ec0b4784ea2c547147145bbd/pychatbotlib-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "df26960dbe46b3c7b0124a206cd56895", "sha256": "2de611fb7a1adfadeb26608a1182b5f0d34cd3a71d00914f0dc9098961ebcc41" }, "downloads": -1, "filename": "pychatbotlib-1.0.1.tar.gz", "has_sig": false, "md5_digest": "df26960dbe46b3c7b0124a206cd56895", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2728, "upload_time": "2018-09-20T16:14:09", "url": "https://files.pythonhosted.org/packages/88/52/1f5a288aafb1cc6cc0bf89bb345f062cf075186b7bdbc34313c9507df4b0/pychatbotlib-1.0.1.tar.gz" } ] }