I was working on a Python project that was missing a requirements.txt. With a little bit of internet digging, I found that I could combine uv and pipreqs to generate one.
I just ran uvx pipreqs . in the project's root directory, et voila! Just like that, I got a great starter requirements file.