Giter Site home page Giter Site logo

otf's Introduction

otf

This program was created for use by me only as I find I develop better tools when I do so targeting a wider audience than myself. However, anyone who finds it useful is welcome to use, distribute, or contribute.

Description

This program runs a simple python loop which periodically pings a single-purpose gmail account and checks for new "Performace Summary" emails. These emails are sent out by automatically after each workout session to members' registered email addresses. decided I wanted to be able to track these over time. So, otf uses imaplib to authenticate and fetch emails. When new "Performance Summaries" arrive, we use Beautiful Soup to parse the emails and extract the numbers of interest. These are then inserted into an sqlite3 database for persistence.

Install

clone the repository

$ git clone https://github.com/p5a0u9l/otf

install the python requirements

NOTE: This will install the external library dependancies on your system. It is always a good idea to isolate python programs in virtual environments, see virtualenv.

If you use pyenv

$ pyenv virtualenv 3.6.0 otf
$ pyenv activate otf
$ pip install -r requirements.txt

run the install hook

$ ./otf install

caveats

  • authentication (see discussion below)

  • file permissions. The installer links the shell script to /usr/local/bin/ by default, but this can be changed in config.yml.

otf's People

Contributors

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