Enh/thrustcurve api cache by Monta120 · Pull Request #881 · RocketPy-Team/RocketPy
This way the cache will be deleted everytime you restart a python session. It doesn't solve 100% of the problem.
My idea is for us to create a .rocketpy_cache folder and save every download inside it. Before downloading a motor rom the API, we simply read it from file.
There should be options like "no_cache = Tre" to skip cache.
Please dedicate a few minutes to research how other python libraries tackle the same problem (caching downloads from rest API requests). I know OSMnx is a good example, but certainly there are many other libs doing the same thing.
Can you use these guidelines to improve this PR pls? I will mark it as a draft for now, but pls lemme know whener you finish it again so I can review it
Adittionaly, I think you have a problem with git tree, as I can see 43 commits on the commits section. I recommend you running the following: git rebase -i develop, then you select which commits you really need in this PR, and drop the others.