• [Python-announce] foffinf 0.1 released

    From Facundo Batista@facundobatista@gmail.com to comp.lang.python.announce on Fri Apr 28 20:45:32 2023
    From Newsgroup: comp.lang.python.announce

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114