
April 28, 2023
11:45 p.m.
I'm happy to announce a newborn library! foffinf, a way to use stdlib's logging with the new Format Specification Mini-Language. In other words, you will be able to do: logger.info("The result is {:05d}", result) You can forget about old printf-style formatting now! To enable which modules you want with this behaviour you have to declare them (including or not the submodules. Check the README, it's very simple. Released in PyPI, as usual: https://pypi.org/project/foffinf/0.1/ Enjoy! -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org.ar/ Twitter: @facundobatista
666
Age (days ago)
666
Last active (days ago)
0 comments
1 participants
participants (1)
-
Facundo Batista