python3-durationpy

converting between datetime.timedelta and Go's Duration strings

Description

Durationpy is a lightweight Python utility for bidirectional conversion between datetime.timedelta objects and Go‑style duration string representations (e.g., "4h3m2s1ms"). It fills a niche need when interoperating with systems or config formats that use Go’s time.Duration syntax, by letting Python code parse and emit those strings directly.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/icholy/durationpy


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-durationpy