Giter Site home page Giter Site logo

hermes's Introduction

Hermes

Build

Hermes is a simple slack notification tool that watches for unseen messages on multiple emails!

Requirements

Hermes is written in Python3.9 and uses Slack Incoming Webhook.

It is build on top of Click CLI with Pydantic for data parsing and validation and also uses:

  • Pipenv to manage the virtualenv + install packages
  • Pytest to execute unit tests

Installation

Before installing the application, make sure all the dependencies are resolved.

Dependencies

The application and its dependencies are fully containerized and rely on docker to manage the containers and uses of Make as our build automation tool.

So, if you don't have them installed already, please follow the links below:

Also make sure to create Slack Incoming Webhook

Installation

Once the dependencies are installed, just follow the simple steps below to have the application up and running.

Clone the repo and change the directory to the newly cloned folder.

git clone https://github.com/zydneyambat/hermes.git
cd hermes

Create a config yaml file based on config.yaml.dist and follow the instruction there.

cp config.yaml.dist config.yaml

Use the command make to trigger the installation.

make

The make command build the image, configure dependencies and install the application.

When the command is finished you can now watch your email inbox by running the command below:

make run ./config.yaml

Note: You can simply run make or make help for a list of all available commands.

Running tests

To run the unit tests simply call make test.

It will use run the testing container and run the unit tests.

The coverage/index.html can be found on the root folder.

hermes's People

Contributors

zydneyambat avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.