Open mherrmann opened 7 years ago
Is there any progress on this one? It would be really great to have entire Python library in fman.
Also I'm wondering if there is a way to add some third party libraries manually. Right now I place pure-python libs that have no dependencies in a plugin directory and using sys.path.append()
, but I'm wondering if there is a better solution, because I would really love to use something like numpy for my plugins.
No progress as of now, I'm afraid. sys.path.append
sounds like a valid solution.
I'm curious: What plugins are you developing that require numpy?
Well, I haven’t been able to add whole python standard library and massive things like numpy using sys.path.append yet. But I’ll keep trying. The other solution I see is to just run scripts with my system python interpreter from fman plugin, but this is not as great as running directly from fman.
Well, I’m working mainly with audio, so I thought it would be great to have some options for simple and fast audio analysis such as getting peak values and stuff like this right in fman.
Using numpy in fman is more like dream that will never come true, but I hope someday we’ll be able to use at least whole standard library. And thank you for such a great work with fman! I’m starting to really love it.
I see, thank you for elaborating. And thank you for the kind words. I'm happy to hear you're liking fman :)
Do the modules imported throughout the Core library cover everything available? If not is there a complete list somewhere? Thanks.
They don't cover everything and there's no complete list. But you can just try importing stuff in a plugin and see if it works.
At the moment, fman only bundles those modules from the Python standard library which it uses itself. Plugin developers want to have access to the entire standard library - not just the subset used by fman. The goal of this issue is to bundle Python's entire standard library with fman, so plugin developers can use the expected functionality.