warning: Pengbo is currently in DESIGN
import pengbot
from pengbot.adapters import SlackRobot, Mention
@pengbot.make_robot(SlackRobot)
def mybot(bot):
bot.context = bot.context(
api_token=os.environ.get('SLACK_API_TOKEN', None)
)
@vvbot.hears(Mention)
def talking_parrot(bot, message):
yield from bot.says(':bird: %s' % message['text'] , channel=message['channel'])
if __name__ == '__main__':
mybot()
Installation
$ pip install pengbot
Documentation
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.io
Example ideas
Auto linking for Jira Issues.
Attach user mentions to issues as comments in Jira.
Bots talking to bots.
Voting and Polls.
Metadata
Release files for pengbot 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pengbot-0.1.tar.gz | 1.9 kB | Without provenance | Details |
Release files / pengbot-0.1.tar.gz
| Download URL | pengbot-0.1.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a64ba02d1347aeabaa35a5e1f2872720362ef2d90cd23a9b4dd4d209d3e19a43
|
|
BLAKE2b-256 checksum How to use checksums |
22c9e9501af8960132648c0dd83daf73ba5f48f685e50427bd1a5dcb709d2e41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pengbot 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.