GithubHelp home page GithubHelp logo

deenuu1 / google-calendar-time-tracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 98 KB

Calculate total time for month, day and events - grouped by the same event name

License: MIT License

Python 100.00%
automation google-calendar google-calendar-api script

google-calendar-time-tracker's Introduction

Contributors Forks Stargazers Issues MIT License LinkedIn


Google Calendar Time Tracker

Calculate total time for month, day and events - grouped by the same event name

Report Bug · Request Feature

googleCalendarBoard

results

Features

  1. Fetch all events from specified Google Calendar
  2. Calculate total time for events grouped by event name
  3. Calculate total time for each day
  4. Calculate total time for each month

Technologies:

  • Python
  • Google calendar

Installation

Clone repository

git clone https://github.com/DEENUU1/google-calendar-time-tracker.git

Create virtual env (this may be different on Linux / MacOS)

python3 -m .venv .venv

.venv/Scripts/activate

Install requirements

pip install -r requirements.txt

Create .env file and set up Google account

cp .env_example .env

Run script and add optional parameters

python main.py 

python main.py --skip="Deadline, deadline, ..."
# For example if the Event starts with "Deadline" it's gonna be skipped 
# and not counted to the finall result

python main.py --year=2024 --month=5

python main.py --skip="Deadline, ..." --year=2024 --month=5

Authors

License

See LICENSE.txt for more information.

google-calendar-time-tracker's People

Contributors

deenuu1 avatar

Stargazers

 avatar

Watchers

 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.