[Bug 284928] [new port] converters/py-durationpy: Module to convert between datetime.timedelta and time.Duration strings
Date: Thu, 20 Feb 2025 16:13:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284928 Yusuf Yaman <nxjoseph@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nxjoseph@protonmail.com --- Comment #1 from Yusuf Yaman <nxjoseph@protonmail.com> --- Created attachment 257695 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257695&action=edit converters/py-durationpy.patch durationpy library is a Python module that provides functionality to convert between Python's datetime.timedelta objects and Go's Duration strings. This is useful when you need to interact with systems or data formats that use Go's duration format, which is a string-based representation of time intervals (e.g., "2h30m15s"). The library allows you to parse Go duration strings into Python timedelta objects and format timedelta objects back into Go duration strings. WWW: https://github.com/icholy/durationpy \ https://pypi.org/project/durationpy Poudriere testport passes on 142amd64-default. Pet port{clippy,fmt,lint}. Thanks in advance. -- You are receiving this mail because: You are the assignee for the bug.