Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Shell
  3. pdd

pdd

GPL-3.0Pythonv1.7

A tiny command-line utility to calculate date/time differences and run timers with piggybacked commands.

GitHubGitHub
406 stars19 forks0 contributors

What is pdd?

pdd is a lightweight command-line utility written in Python that calculates date and time differences, performs date/time arithmetic, and functions as a timer or stopwatch. It solves the problem of needing quick, scriptable date/time operations without complex syntax or dependencies.

Target Audience

System administrators, developers, and power users who frequently work with date/time calculations in terminal environments and need a simple, reliable tool for these operations.

Value Proposition

Developers choose pdd for its extreme simplicity, minimal dependencies, and intuitive interface—it requires no memorization of complex options while providing comprehensive date/time functionality in a tiny package.

Overview

:date: Tiny date, time diff calculator with piggybacked timers

Use Cases

Best For

  • Calculating date differences between arbitrary dates
  • Performing date/time arithmetic in shell scripts
  • Running countdown timers with command execution
  • Timing operations with a custom-resolution stopwatch
  • Quickly checking current date/time with timezone
  • Background timers for automation workflows

Not Ideal For

  • Projects requiring graphical user interfaces for date/time manipulation
  • Complex scheduling systems with recurring events or business day calculations
  • Environments where installing Python dependencies is prohibited or cumbersome
  • Applications requiring nanosecond precision or real-time high-frequency timing

Pros & Cons

Pros

Extreme Simplicity

Built with a 'no memorization' philosophy, allowing users to perform common date/time operations without complex syntax, as emphasized in the README.

Flexible Input Formats

Accepts various date/time formats including partial inputs (e.g., 'mm:ss' or 'ss') and follows ISO 8601 standards, making it adaptable for quick calculations.

Scriptable Timer Commands

Supports command piggybacking with the -r option to execute commands when a countdown timer expires, enabling automation in shell scripts.

Background Operation Support

Features a quiet mode (-q) for running timers and stopwatches in the background, useful for non-interactive workflows as demonstrated in examples.

Cons

External Dependency Required

Relies on the python-dateutil module, which may not be pre-installed on all systems, adding installation overhead compared to built-in command-line tools.

Limited to Command-Line

Lacks a graphical or web interface, restricting its use to terminal environments and making it less accessible for non-technical users or visual workflows.

Missing Advanced Features

Does not support time zone conversions for arbitrary dates, recurring events, or complex date logic like holiday calculations, limiting its utility in specialized scenarios.

Frequently Asked Questions

Quick Stats

Stars406
Forks19
Contributors0
Open Issues0
Last commit10 days ago
CreatedSince 2017

Tags

#productivity-tool#calculator#datetime#date-time#stopwatch#terminal#command-line-tool#system-administration#console#cli#timer#countdown-timer#iso-8601#command-line#automation#python-script

Built With

P
Python

Included in

Shell36.8k
Auto-fetched 11 minutes ago

Related Projects

fuckfuck

Magnificent app which corrects your previous console command.

Stars97,516
Forks3,953
Last commit2 years ago
fzffzf

:cherry_blossom: A command-line fuzzy finder

Stars81,702
Forks2,812
Last commit3 days ago
ripgrepripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore

Stars66,095
Forks2,640
Last commit8 hours ago
fdfd

A simple, fast and user-friendly alternative to 'find'

Stars43,742
Forks1,094
Last commit6 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub