A companion to my last generator. This one makes cylindrical screw-top containers, with configurable dimensions and beefiness. And threads figured out for you.
https://www.printables.com/model/781549-parametric-easy-screw-top-container-maker-freecad-
(You could even store your weed KLR valve shims in it.)
Edit: This just received an update. The cap now generates with grip crenelations in it.
Even without they’re pretty darn resistant, and proof against rain or, e.g., dropping one in a puddle or off your kayak and then fishing it out immediately. Just don’t try to use one as a time capsule that’ll be exposed to the elements indefinitely, or expect the contents to survive being immersed forever at the bottom of your aquarium.