A friendly bot.
This helper library currently contains classes for interacting with Confluence pages (creating, editing, attaching, etc.), interacting with Gmail (send and receive), posting to Slack (write only).
import johnnyfive
# Confluence API
page = johnnyfive.ConfluencePage(space, page_title, instance=None, use_oauth=False)
# Gmail API
message = johnnyfive.GmailMessage(toaddr, subject, message_text, fromname=None fromaddr=None, interactive=False)
message_list = johnnyfive.GetMessages(label=None, after=None, before=None, interactive=False)
# Slack API
slack_channel = johnnyfive.SlackChannel(channel_name)
# Utility API
['PermissionWarning', 'print_dict()', 'safe_service_connect()']
- atlassian-python-api
- beautifulsoup4
- google-api-python-client
- google-auth-httplib2
- google-auth-oauthlib
- lxml
- pyjwt
- python-twitter
- requests
- slack_sdk
- ligmos @ https://github.com/LowellObservatory/ligmos
Installable either as a standalone library:
-
In the source directory:
pip install -e .
and look for any compilation/installation failures for the dependencies.
Or as a dependancy for other software:
-
In your package's
setup.cfg
file, add:install_requires = JohnnyFive @ git+https://github.com/LowellObservatory/JohnnyFive