I was looking for a parametric round container with a screw lid and got pointed to the amazing model by tanius on Thingiverse and adjusted it to my needs (see the differences section).
Make sure to put both .scad files in the same folder.
The author remixed this model.
Compared to the original model, I made the grip feature of the lid optional and also added customizer options for various parameters of the grip.
I also added a “better final rendering” quality setting with a higher number of segments and increased the number of segments for the threads for all quality options.