Simple project to assist in tracking/logging my working hours

Overview

Fill working hours

Basic script to assist in the logging/tracking of my working hours

How it works

Create a file called projects.json in this directory, detailing project codes with the total hours you're allocating to that project. See the example file for format.

Then just run the script from this directory. The script sequentially fills days with project times until all hours are spent, and outputs the result.

Example

## projects.json
{
    "project-a": 57.0,
    "project-b": 43.2
}

python main.py

## output
╒═══════╤═════════════════╤═══════════════╕
│   Day │ Allocations     │   Total Hours │
╞═══════╪═════════════════╪═══════════════╡
│ 0     │ project-a: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 1     │ project-a: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 2     │ project-a: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 3     │ project-a: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 4     │ project-a: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 5     │ project-a: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 6     │ project-a: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 7     │ project-a: 5.20 │           7.4 │
│       │ project-b: 2.20 │               │
├───────┼─────────────────┼───────────────┤
│ 8     │ project-b: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 9     │ project-b: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 10    │ project-b: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 11    │ project-b: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 12    │ project-b: 7.40 │           7.4 │
├───────┼─────────────────┼───────────────┤
│ 13    │ project-b: 4.00 │           4   │
╘═══════╧═════════════════╧═══════════════╛

Notes

7.4 hour day is hardcoded.

Requirements

Poetry is used to manage dependencies and virtual environments.

Owner
Robin Kennedy-Reid
Significant experience in C/C++, Python, and full-stack programming. Worked on commercial and academic software. Comfortable with Windows, Linux and CLIs.
Robin Kennedy-Reid
Pdraw - Generate Deterministic, Procedural Artwork from Arbitrary Text

pdraw.py: Generate Deterministic, Procedural Artwork from Arbitrary Text pdraw a

Brian Schrader 2 Sep 12, 2022
Chalice - A tool to facilitate Python based lambda deployment

Chalice is a tool to facilitate Python based lambda deployment. This repo contains the output of my basic exploration of this tool.

Csilla Bessenyei 1 Feb 03, 2022
Pokemon catch events project to demonstrate data pipeline on AWS

Pokemon Catches Data Pipeline This is a sample project to practice end-to-end data project; Terraform is used to deploy infrastructure; Kafka is the t

Vitor Carra 4 Sep 03, 2021
An assistant to guess your pip dependencies from your code, without using a requirements file.

Pip Sala Bim is an assistant to guess your pip dependencies from your code, without using a requirements file. Pip Sala Bim will tell you which packag

Collage Labs 15 Nov 19, 2022
Curses frontend for Canto daemon

Canto Curses The curses (text) client for canto-daemon. Canto-daemon is required to work and is found at: http://github.com/themoken/canto-next Requir

Jack Miller 86 Dec 28, 2022
Todo-backend - Todo backend with python

Todo-backend - Todo backend with python

Julio C. Diaz 1 Jan 07, 2022
sawa (ꦱꦮ) is an open source programming language, an interpreter to be precise, where you can write python code using javanese character.

ꦱꦮ sawa (ꦱꦮ) is an open source programming language, an interpreter to be precise, where you can write python code using javanese character. sawa iku

Rony Lantip 307 Jan 07, 2023
Unofficial Python implementation of the DNMF overlapping community detection algorithm

DNMF Unofficial Python implementation of the Discrete Non-negative Matrix Factorization (DNMF) overlapping community detection algorithm Paper Ye, Fan

Andrej Janchevski 3 Nov 30, 2021
An Airdrop alternative for cross-platform users only for desktop with Python

PyDrop An Airdrop alternative for cross-platform users only for desktop with Python, -version 1.0 with less effort, just as a practice. ##############

Bernardo Olisan 6 Mar 25, 2022
Pykeeb - A small Python script that prints out currently connected keyboards

pykeeb 🐍 ⌨️ A small Python script that detects and prints out currently connect

Jordan Duabe 1 May 08, 2022
An open-source hyper-heuristic framework for multi-objective optimization

MOEA-HH An open-source hyper-heuristic framework for multi-objective optimization. Introduction The multi-objective optimization technique is widely u

Hengzhe Zhang 1 Feb 10, 2022
Manipulation OpenAI Gym environments to simulate robots at the STARS lab

liegroups Python implementation of SO2, SE2, SO3, and SE3 matrix Lie groups using numpy or PyTorch. [Documentation] Installation To install, cd into t

STARS Laboratory 259 Dec 11, 2022
Google Fit Sensor Component

Google Fit Sensor Component

Ivan Vojtko 21 Dec 20, 2022
Utility/Raiding selfbot made by Shell and Roover.

Utility/Raiding selfbot made by Shell and Roover. We are open to suggestions and ideas.

Shell 2 Dec 08, 2021
TikTok Auto Claimer Made By Aim low!#9999 Leaked By bazooka#0001

Zues Auto Claimer Leaked By bazooka#0001 put proxies in prox.txt put ssid in sid.txt put all users you want to target in user.txt for the login just t

1 Jan 14, 2022
A simple wrapper for joy library

Joy CodeGround A simple wrapper for joy library to render joy sketches in browser using vs code, (or in other words, for those who are allergic to Jup

rijfas 9 Sep 08, 2022
Automated Birthday Wisher built using Python

Automated Birthday Wisher This Automation of wishing Birthday is achieved using Python. Never forget to wish birthday! Table of contents Overview Scre

yashviradia 1 Nov 29, 2021
Check broken access control exists in the Java web application

javaEeAccessControlCheck Check broken access control exists in the Java web application. 检查 Java Web 应用程序中是否存在访问控制绕过问题。 使用 python3 javaEeAccessControl

kw0ng 3 May 04, 2022
🤖🤖 Jarvis is an virtual assistant which can some tasks easy for you like surfing on web opening an app and much more... 🤖🤖

Jarvis 🤖 🤖 Jarvis is an virtual assistant which can some tasks easy for you like surfing on web opening an app and much more... 🤖 🤖 Developer : su

1 Nov 08, 2021
NasaApod - Astronomy Picture of the Day

Astronomy Picture of the Day Get interesting Astronomical pictures with a brief

Shripad Rao 1 Feb 15, 2022