Introduction
Track time you’ve spent on different tasks. Then see how much time you’ve spent on each.
Continuation of time_management script idea.
Development
Built with Python, Poetry, SQLAlchemy for managing database, SQLite as database.
Testing: Pytest
Run package without building: poetry run python -m time_tracker [options] in the project directory
Example: poetry run python -m time_tracker -a Task1
Run tests: poetry run pytest
Installation
From source
run make build and then make package-install in the package directory.
PIP
run pip install tiempo-tracker
When you run app for the first time it will create a database. You’ll see a message:
Database not found. Creating new one
Also app will show path where database is stored.
Usage
tiempo-tracker can be invoked by trt command in the terminal. Available options:
-h, --help show this help message and exit
-s START, --start START
Start task by providing its name
-f, --finish Finish current task. Task also can be finished
by starting a different task
-a ADD, --add ADD Add new task
-r REMOVE, --remove REMOVE
Remove the task
-l, --list List of all tasks
-st STATS, --stats STATS
Stats about tasks
Start with adding new task:
trt -a task1
Then track the task:
trt -s task1
To finish the task either start a new one (add new task first if it doesn’t exist yet):
trt -s task2
or finish task
trt -f
Show all added tasks:
trt -l
If particular task is in progress there will be (in progress) status near this task. Example:
Project_work Exercising (in progress) Flask_API_project Some_task
Remove task if it’s no longer needed:
trt -r task1
See how much time you’ve spent on each task during the day:
trt -st
Time will be presented in two formats: hr:min and as a decimal number. The latter is convenient for further storage in spreadsheets.
Metadata
Release files for tiempo-tracker 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tiempo-tracker-0.1.1.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tiempo_tracker-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / tiempo-tracker-0.1.1.tar.gz
| Download URL | tiempo-tracker-0.1.1.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c839eff816fbc2f1157e4dbcc500cb0e99c13676e90a53b4847523224f3f0d80
|
|
BLAKE2b-256 checksum How to use checksums |
3e66ea7700d5482a30e96b696648a71fdc1e567893bbcccdb16e0c1d7511d7cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.9.13 Darwin/20.3.0
|
Release files / tiempo_tracker-0.1.1-py3-none-any.whl
| Download URL | tiempo_tracker-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
393cfc38f6cf5616f29ef4e6c935200d87d57b94aa9c3f2ccc05b628569b3b42
|
|
BLAKE2b-256 checksum How to use checksums |
9b8a980d8ba30dde28f5da228b4ad6e346981c08076edc298fffd0f4ae3a97fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.9.13 Darwin/20.3.0
|