[Python-announce] foffinf 0.1 released

7 views
Skip to first unread message

Facundo Batista

unread,
Apr 28, 2023, 8:27:37 PMApr 28
to
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
Reply all
Reply to author
Forward
0 new messages