tempf (TempFiles) is a simple Python library (that supports python3.7+), and it will stay simple :) This is supposed to be the first and last version of tempf.
It's as simple as:
python
from tempf import TempFiles
with TempFiles(2) as (version_path, log_path):
with version_path.open('w') as ver_f:
ver_f.write('1.0.0')
with log_path.open('a') as log_f:
log_f.write('New version released! version 1.0.0 at tomhea/tempfiles')