Codec registry for f2format,
a back-port compiler for Python 3.6 f-string literals.
pip install f2format-codecInclude the following encoding cookie at the top of your file (this replaces
the UTF-8 cookie if you already have it):
# -*- coding: f2format -*-And then write Python 3.6 f-string literals as usual 🍺
This project leverages APIs provided by
f2format, and concepts inspired from
future-fstrings.