wendlers / mpfshell

A simple shell based file explorer for ESP8266 Micropython based devices ⛺
MIT License
396 stars 84 forks source link

Separate MpFileExplorer to library #83

Open iBobik opened 5 years ago

iBobik commented 5 years ago

In my project I would like to copy files between ESP8266 chips and MpFileExplorer class could easilly solve it.

Should I copy what I need, port it to MicroPython when needed and include it in my project or you prefer to separate this class and dependencies to external universal library?

skorokithakis commented 5 years ago

Hmm, that's an interesting question. I would be open to adding an API class to mpfshell so you could do from mpfshell import <apiclass> and use the functionality. The API needs to be a bit thought out, though, since it probably shouldn't be the same as the internal interface.