IDEs (PyCharm, NetBeans, etc.) for MicroPython
Re: PyCharm or NetBeans with pyBoard.
Pardon my ignorance but does PyCharm hava any documentation to extension points/API/whatever needed to make it work with a non-standard python distribution? I.e. does it just expect there is a working inspect module, or how does it retrieve all info it needs?
Re: PyCharm or NetBeans with pyBoard.
You can set up a given project to use one of many Python installations. So theoretically one can produce an installation that reflects what is available on the Pyboard or whatever your target is.
/Daryl
/Daryl
Re: PyCharm or NetBeans with pyBoard.
I'm aware of that, but what are the requirements of such installation? Does it have to be CPython-like, must it support an inspect module, or in other words what mechanims does PyCharm use to go from the code you enter to providing code completion/documentation?dastultz wrote:You can set up a given project to use one of many Python installations.
Re: PyCharm or NetBeans with pyBoard.
Sorry, I don't know.
/Daryl
/Daryl
PyCharm or NetBeans with pyBoard.
Here it is! pyb.py
https://github.com/dastultz/micropython_pyb
I'm sure it's not perfect, open an issue and I'll fix it.
/Daryl
https://github.com/dastultz/micropython_pyb
I'm sure it's not perfect, open an issue and I'll fix it.
/Daryl
Re: PyCharm or NetBeans with pyBoard.
Nice work Daryl. Is this autogenerated or you have written it by hand?
Re: PyCharm or NetBeans with pyBoard.
Unfortunately it was done by hand. I took the rst docs, did some reg ex replacement, then edited the rest. I don't expect the API will change much so shouldn't be a big deal to improve it manually.
/Daryl
/Daryl
Re: PyCharm or NetBeans with pyBoard.
So long as you're prepared to maintain it separately. It would have been a great addition to the project if we had a utility for generating this on demand. The API might not change much, but I suspect it will change nonetheless!
IDE or debugger for micropython?
Hi,
I'm trying to find if there exists, or if anyone is working on an IDE for micropython, specifically including a debugger. While I'm looking at this for ESP8266 hardware, it would no doubt be great for any board. My dream/wishlist is that such an IDE would be quick and easy for a beginner to get running - not messy configuration, and no command-line if possible. Features that I'd consider essential are: file syncing to/from the device and an ability to set breakpoints and inspect variables. Are these feasible for a micropython target? I'm aware file syncing would be slow over a serial connection, but should still be possible. What about breakpoints? I notice that pdb is only a dummy module at this point. Integration with an existing IDE (such as pycharm, eclipse or VS Code) would be ideal I guess.
I'm trying to find if there exists, or if anyone is working on an IDE for micropython, specifically including a debugger. While I'm looking at this for ESP8266 hardware, it would no doubt be great for any board. My dream/wishlist is that such an IDE would be quick and easy for a beginner to get running - not messy configuration, and no command-line if possible. Features that I'd consider essential are: file syncing to/from the device and an ability to set breakpoints and inspect variables. Are these feasible for a micropython target? I'm aware file syncing would be slow over a serial connection, but should still be possible. What about breakpoints? I notice that pdb is only a dummy module at this point. Integration with an existing IDE (such as pycharm, eclipse or VS Code) would be ideal I guess.
Re: PyCharm, NetBeans or other IDEs with pyBoard.
Please search for existing topics first.
The current best lead is PyCom's (LoPy and other projects) IDE which they promised to open-source (i.e. make it possible to add support for other boards). I'm personally not interested in IDE and don't follow this matter further (beyond asking them if they plan to open-source it and getting affirmative answer). Community members who're interested in IDE should gather together, form a critical mass, and follow this matter.
The current best lead is PyCom's (LoPy and other projects) IDE which they promised to open-source (i.e. make it possible to add support for other boards). I'm personally not interested in IDE and don't follow this matter further (beyond asking them if they plan to open-source it and getting affirmative answer). Community members who're interested in IDE should gather together, form a critical mass, and follow this matter.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/