Skip to content

LowellObservatory/JohnnyFive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Johnny Five

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).

johnnyfive

JohnnyFive API

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()']

Requirements

Installation

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

About

A friendly bot, to post things to places

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages