rhroberts / yatta Goto Github PK
View Code? Open in Web Editor NEWCommand line time tracker
License: GNU General Public License v3.0
Command line time tracker
License: GNU General Public License v3.0
Line 186 in d87a651
Line 41 in 887b21b
Or, if moving to sqlite, this can be closed
yatta/src/yatta/commands/edit.py
Line 79 in 4c79c8e
Issues:
daemon
module uses os.fork
, which is not available on windows. cannot track tasks without this
multiprocessing
moduleFor now, use WSL to run yatta on Windows.
Future work on this will be in fix/windows branch.
yatta/src/yatta/commands/edit.py
Line 21 in 3a57795
Need to do some more profiling, but it seems like calls to db
and completion_help
modules are the worst offenders
Archiving would just be moving a task and it's records to separate DBs
Line 36 in 887b21b
$ pip install .
$ yatta -h
Traceback (most recent call last):
File "/home/rusty/.pyenv/versions/yatta/bin/yatta", line 11, in <module>
load_entry_point('yatta==0.0.1', 'console_scripts', 'yatta')()
File "/home/rusty/.pyenv/versions/3.8.2/envs/yatta/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/rusty/.pyenv/versions/3.8.2/envs/yatta/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
return ep.load()
File "/home/rusty/.pyenv/versions/3.8.2/envs/yatta/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
return self.resolve()
File "/home/rusty/.pyenv/versions/3.8.2/envs/yatta/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ModuleNotFoundError: No module named 'yatta'
Would be nice to have comments/description for specific records for more context.
Likely in the form of an add
command.
(using tilix)
$ yatta plot
Traceback (most recent call last):
File "/home/rusty/.cache/pypoetry/virtualenvs/yatta-2qEKFhJ--py3.8/bin/yatta", line 11, in <module>
load_entry_point('yatta', 'console_scripts', 'yatta')()
File "/home/rusty/.cache/pypoetry/virtualenvs/yatta-2qEKFhJ--py3.8/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/rusty/.cache/pypoetry/virtualenvs/yatta-2qEKFhJ--py3.8/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/rusty/.cache/pypoetry/virtualenvs/yatta-2qEKFhJ--py3.8/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/rusty/.cache/pypoetry/virtualenvs/yatta-2qEKFhJ--py3.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/rusty/.cache/pypoetry/virtualenvs/yatta-2qEKFhJ--py3.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/rusty/Code/yatta/src/yatta/commands/plot.py", line 52, in plot
start_date = datetime(year, month, day - day_of_week)
ValueError: day is out of range for month
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.