Skip to content

Ezka77/pyggl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Toggl for lazy people

... or in need of a time travel machine.

Installation

Works with python 3.7 ... not tested below that version

Install from sources

pip install -e .

Or build the package:

python setup.py bdist_wheel sdist

and install it:

pip install dist/pyggl-0.1-py3-none-any.whl

WTF of this script ?

Well, sometime it come to be quite boring to use the UI from toggl (free version). So for a long day or many days of work on a single task ... one command, upload the CSV and done.

NB: there is plenty of nice scripts working with Toggle API, but I like writing CSV files ... and it works with any other tool who allow you to import data from Toggl ;-)

Usage

Get help : pyggl --help

Ho BTW it'll append rows to an already existing csv.

Exemple of configuration file

By default, pyggl read default configuration from current directory from a file name pyggl.conf. For exemple:

[Toggl]
User=MyDummyUser
Email=mydummyemail@mydummy.com
Project=MyDummyProject
Tags=MyDummyTag
Description=A dummy task description

[pyggl]
period_per_day = 8-12,14-18

Command line argument take precedence over this file. You can for exemple use one file per project with these defaults:

[Toggl]
Email=pinkyandthebrain@acme.labs
Project=Takeover the world !

About

A Toggle csv report generator in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages