thinkinglabs / togglu Goto Github PK
View Code? Open in Web Editor NEWA Toggl command line tool
License: MIT License
A Toggl command line tool
License: MIT License
/bin
| - togglu
from togglu.togglu import CLI
if __name__ == '__main__':
cli = CLI(sys.argv[1:])
cli.execute()
Add setup.py
that installs the module togglu
in PYTHONPATH
.
See Toggl support article Why did my integration stop working?.
The old Toggl API endpoint should be replaced by the new API Toggl Track endpoint api.track.toggl.com.
Add the subcommand days-worked
to togglu.
This should display the number of days worked during a period defined by --since
and -until
.
Add the tags
subcommand to togglu.
This should display the list of tags with their identifier.
Tag Id | Tag Name |
---|---|
123 | my-tag |
Add the clients
sub-command to togglu.
This should list all clients with identifier and name:
Client Id | Client Name |
---|---|
1234 | My Client |
$ ./bin/togglu timesheet --workspace-id 509982 --since 2022-04-01
...
04/12/22 | A Company | 1.09
04/11/22 | Another Company | 3.59
04/11/22 | Yet Another Company | 5.58
04/11/22 | XYZ Conference | 1.26
Traceback (most recent call last):
File "/Users/thipau/projects/thinkinglabs/togglu/./bin/togglu", line 12, in <module>
cli.execute()
File "/Users/thipau/projects/thinkinglabs/togglu/togglu/togglu.py", line 39, in execute
args.func(args)
File "/Users/thipau/projects/thinkinglabs/togglu/togglu/togglu.py", line 55, in timesheet
renderer.render(
File "/Users/thipau/projects/thinkinglabs/togglu/togglu/timesheet_console_renderer.py", line 17, in render
f'{date_entry.date.strftime("%x"):<10} | '
TypeError: unsupported format string passed to NoneType.__format__
See the tutorial Packaging Python Projects
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.