Minimal time tracking for maximal benefit
Project description
rdial is a simple way to track the time you spend on tasks. It tracks the name of a task, its start time, its duration and optionally a message… nothing more.
rdial is released under the GPL v3 license.
Requirements
rdial’s mandatory dependencies outside of the standard library are:
It should work with Python version 3.6, or newer. If rdial doesn’t work with the version of Python you have installed, file an issue and I’ll endeavour to fix it.
The package has been tested on many UNIX-like systems, including Linux and OS X, but it may work fine on other systems too.
To run the tests you’ll need pytest. Once you have pytest installed you can run the tests with the following commands:
$ pytest tests
Database
The database is just a directory of simple CSV files, making it useful to use and abuse in other applications. A sample database could be a file named task.csv with the following contents:
start,delta,message 2011-05-04T08:00:00Z,PT01H00M00S,working on issue 4 2011-05-04T09:30:00Z,,
and a task2.csv file with the following contents:
start,delta,message 2011-05-04T09:15:00Z,PT00H15M00S,
The CSV files contain the following fields:
Start time expressed in UTC
Task duration
An optional message associated with the event
The start time and duration fields are given as ISO 8601 formatted strings.
If a line does not contain a duration entry, then the task is considered to be running.
Interface
$ rdial start <task_name>
$ rdial stop
$ rdial report
+-------+----------------+
| task | time |
+-------+----------------+
| task | 1:00:00 |
| task2 | 1 day, 0:15:00 |
+-------+----------------+
Contributors
I’d like to thank the following people who have contributed to rdial.
Patches
Nathan McGregor
Bug reports
Delphine Beauchemin
Henry Richards
James Gaffney
Ryan Sutton
Stephen Thorne
Ideas
Adam Baxter
Kevin Simmons
Thomas Gallagher
If I’ve forgotten to include your name I wholeheartedly apologise. Just drop me a mail and I’ll update the list!
Bugs
If you find any problems, bugs or just have a question about this package either file an issue or drop me a mail.
If you’ve found a bug please try to include a minimal testcase that reproduces the problem, or even better a patch that fixes it!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rdial-1.2.1.tar.gz
.
File metadata
- Download URL: rdial-1.2.1.tar.gz
- Upload date:
- Size: 74.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 861c381b654fbe19c4e393338cb75ec4bd686be8abb7600689c51ebc8801f424 |
|
MD5 | 35d2da92821705e2beb98a63a7d4baee |
|
BLAKE2b-256 | 830b17cbd4cce823bb1b19b75f2446b123f8c8368610d2f879439e29ff13651c |
File details
Details for the file rdial-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: rdial-1.2.1-py3-none-any.whl
- Upload date:
- Size: 31.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a158280ac4a90c63a49cff69b6ff90e41357c46a2c5a258aa0479517942638 |
|
MD5 | 62d6a901ab7e6426b0a514fa9d4ad32c |
|
BLAKE2b-256 | 9d2d3c859d6b390924b0a74b5dbba883604f93261f89df54ce9e36e44b399983 |