How to import Python packages stored in MongoDB?

0

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!

Hi R,
Without seeing what you have done it is hard to know what worked or not.
Programming is like Math, in the sense that you have to show all work. :rofl:
:sunglasses:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.