Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mariocesar/pengbot
A Robot with human manners
https://github.com/mariocesar/pengbot
Last synced: 3 days ago
JSON representation
A Robot with human manners
- Host: GitHub
- URL: https://github.com/mariocesar/pengbot
- Owner: mariocesar
- License: mit
- Created: 2015-08-15T20:46:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T23:42:54.000Z (about 5 years ago)
- Last Synced: 2024-04-29T14:03:29.708Z (8 months ago)
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Pengbot: For building robots with human manners
===============================================**warning:** Pengbo is currently in DESIGN
.. code-block:: python
import pengbot
from pengbot.adapters.slack import SlackRobot, Mention@pengbot.robot(adapter=SlackRobot)
def mybot(bot):
bot.context = bot.context(
api_token=os.environ.get('SLACK_API_TOKEN', None)
)@mybot.hears(Mention)
def talking_parrot(bot, message):
yield from bot.says(':bird: %s' % message['text'] , channel=message['channel'])if __name__ == '__main__':
mybot()Installation
------------.. code-block:: bash
$ pip install pengbot
Documentation
-------------.. TODO
TODO
----- Fuzzy string match for commands
- Commands receive message context.
- Listen all messages to trigger commands.
- Adapters for Slack, XMPP, Twitter.
- Message stream filters.
- Message stream middlewares.
- Stream response messages.
- Natural Language Processing?. http://spacy.ioExample ideas
-------------- Auto linking for Jira Issues.
- Attach user mentions to issues as comments in Jira.
- Bots talking to bots.
- Voting and Polls.