I’m currently developing a Python application and I’m considering storing my Python packages in MongoDB. I know that I can store the source code of the package in the database and then retrieve and transform it into a package, but I’m looking for an even simpler solution.
I’d like to be able to import these packages from MongoDB into my Python program without having to extract or compile the code each time.What do you think about that?
Is there a way to store the binary code of a Python package directly in MongoDB and import it as a Python module? If so, how can I achieve this?
Thank you for your help!