406 sao GitHub và vẫn tăng — jarun/pdd là dự án Python mà TopGit đang theo dõi trên nền tảng. :date: Tiny date, time diff calculator with piggybacked timers
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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.
jarun/pdd thuộc nhóm Developer Tools trên TopGit, cùng 10 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về jarun/pdd ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/jarun/pdd là nguồn chính thức.
jarun/pdd có bao nhiêu sao?
jarun/pdd có 406 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/jarun/pdd. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
Commit gần nhất trên jarun/pdd là 1 tháng trước (theo timestamp GitHub). Repo có 19 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
jarun/pdd viết bằng ngôn ngữ gì?
jarun/pdd chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Vì sao jarun/pdd được xếp vào nhóm Developer Tools?
TopGit xếp jarun/pdd vào nhóm Developer Tools dựa trên GitHub topics và mô tả của repo (gắn thẻ: "calculator", "cli", "command-line"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc pdd có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về pdd.