Hello @tanbin-hasnat-shehab ,
You can use this module to generate your requiremnts.txt file
https://pypi.org/project/pipreqs/ 3
In one of my very last projects, I used Pyrebase - [Pyrebase==3.0.27].
Hope it helps.
Cheers!
Avra