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
_______________________________________________
Python-announce-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: [email protected]