jarun/pdd sits at 406 stars on GitHub, written primarily in Python. :date: Tiny date, time diff calculator with piggybacked timers
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
pdd (Python3 Date Diff) is a tiny command line utility to calculate date and time difference. It can also be used as a timer. If no program arguments are specified it shows the current date, time and timezone.
pdd has been written with only one goal - simplicity. Users shouldn't have to memorize anything.
Table of Contents
Features
Installation
Dependencies
From a package manager
Release packages
From source
Running standalone
Usage
cmdline options
Operational notes
Examples
Copyright
Features
easy to use, minimal dependencies
calculate date and time difference
calculate diff from today and now
add, subtract duration (timeslice) to/from date (time)
countdown timer with command piggybacking
custom resolution stopwatch
non-verbose mode for background timers
show current date, time and timezone
follows ISO 8601
Installation
Dependencies
pdd requires Python 3.8 (or later) and the dateutil module.
To install dateutil on Ubuntu, run:
$ sudo apt-get install python3-dateutil
or, using pip3:
$ sudo pip3 install python-dateutil
From a package manager
Install pdd from your package manager. If the version available is dated try an alternative installation method.
Packages for Arch Linux, CentOS, Debian, Fedora and Ubuntu are available with the latest stable release.
From source
If you have git installed, clone this repository. Otherwise download the latest latest stable release or development version (risky).
Install to default location (/usr/local):
$ sudo make install
To remove, run:
$ sudo make uninstall
PREFIX is supported, in case you want to install to a different location.
Running standalone
pdd is a standalone utility. From the containing directory, run:
$ chmod +x pdd
$ ./pdd
Usage
cmdline options
usage: pdd [-h] [-d yyyy mmm dd [yyyy mmm dd | y m d]]
[-t hh:mm:ss [hh:mm:ss | h:m:s]] [--add] [--sub]
[--day yyyy mmm dd] [-c hh:mm:ss] [-r command] [-s [resolution]] [-q] [-v]
[keywords ...]
Tiny date, time difference calculator with timers.
positional arguments:
keywords diff/add/subtract from today or now
options:
-h, --help show this help message and exit
-d yyyy mmm dd [yyyy mmm dd | y m d], --date yyyy mmm dd [yyyy mmm dd | y m d]
calculate date difference
-t hh:mm:ss [hh:mm:ss | h:m:s], --time hh:mm:ss [hh:mm:ss | h:m:s]
calculate time difference
--add add to date (/today) or time (/now)
--sub subtract from date (/today) or time (/now)
--day yyyy mmm dd show day of the week on a date
-c hh:mm:ss, --timer hh:mm:ss
start a countdown timer
-r command, --run command
run command when countdown timer reaches 0
-s [resolution], --stopwatch [resolution]
start a stopwatch [default resolution: 3 (ms)]
-q, --quiet quiet mode for background timer/stopwatch
-v, --version show program's version number and exit
Completion scripts are available for Bash, Fish and Zsh shells.
Operational notes
ISO 8601 format. Month can be specified as month number (e.g. Jan - 1, Dec - 12).
Time is in 24-hr format.
The absolute difference is shown. Argument order is ignored.
The end date is excluded in date difference calculations.
Hour, minute or second can be omitted. Partial inputs are recognized as mm:ss or ss.
The most recent commit recorded on jarun/pdd was 1 month ago, based on the GitHub push timestamp. The repository has 19 forks — one of the better signals of community interest.
How many stars does jarun/pdd have?
jarun/pdd has 406 GitHub stars — refresh the page for the live number, or check github.com/jarun/pdd. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What else is in the Developer Tools space?
jarun/pdd is tracked by TopGit under the Developer Tools category, alongside 10 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What language is jarun/pdd written in?
jarun/pdd is written primarily in Python. GitHub's language field is based on the largest share of bytes in the default branch.
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/jarun/pdd is the definitive source.
Why is jarun/pdd categorized under Developer Tools?
TopGit places jarun/pdd in the Developer Tools category based on its GitHub topics and description (tagged: "calculator", "cli", "command-line"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Still deciding about pdd?
One click hands the question to an AI along with this page — see what it says about pdd.