Skip to main content

Simple time tracking for simple people

Project description

Test state on master Current PyPI release Number of downloads from PyPI

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 dependencies outside of the standard library are:

The following are necessary for Python 2 users:

It should work with any version of Python 2.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 module has been tested on many UNIX-like systems, including Linux and OS X, but it should work fine on other systems too.

To run the tests you’ll need nose2. Once you have nose2 installed you can run the tests with the following commands:

$ nose2 -v tests

Database

The database is just a directory of simple text files, making it very easy 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 format is a CSV file containing the following fields:

  1. Start time expressed in UTC

  2. Task duration

  3. 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 currently 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

  • James Gaffney

  • Ryan Sutton

  • Stephen Thorne

Ideas

  • Adam Baxter

  • Kevin Simmons

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 attempt to include a minimal testcase so I can reproduce the problem, or even better a patch!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rdial-0.15.1.tar.gz (61.5 kB view details)

Uploaded Source

Built Distribution

rdial-0.15.1-py2.py3-none-any.whl (22.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rdial-0.15.1.tar.gz.

File metadata

  • Download URL: rdial-0.15.1.tar.gz
  • Upload date:
  • Size: 61.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rdial-0.15.1.tar.gz
Algorithm Hash digest
SHA256 c4b97edf01475421c1d5fed6e56e00bb0ad52ebb5959f31c7d3110ddc7398374
MD5 63a268eaac50c04be3757ed2e2d964c0
BLAKE2b-256 4e5b866ff73bec37e0d6c368a0b8051fe5d8a1d6503faa1d88dbaf3538706888

See more details on using hashes here.

File details

Details for the file rdial-0.15.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for rdial-0.15.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6591a9709e9369f40082c33203ec433868e1a047804b28ec9717c21b4d7385b9
MD5 6f9d5f8d26a7452ee9ea2279e50d034a
BLAKE2b-256 71a7610ebd4297d435a5ff27bb67ee2a3534d137ee046e0f1089c699731086b5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page