Hi,
if you are looking for some tools to optimize your workflow of developing with micropython, check this out:
https://github.com/stefanhoelzl/mpy-dev-tools
I wrote some scripts to mount my micropython device as fuse-filesystem, sync my source folder with the device and run scripts remotely.
All this tools can be used from command line or as modules from other applications.
Everything is very early alpha but it works fine for my purposes. May some of you guy are interested in it.
I am also happy for some suggestions for improvement.
It also integrates very well with PyCharm, its just one click an my script runs on the device with all its dependencies.
Best,
Stefan
mpy-dev-tools
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: mpy-dev-tools
An interesting approach. I suppose you've seen Dave Hylands' rshell which does something similar but by different means https://github.com/dhylands/rshell.
Incidentally your __init__.py is incorrectly named __ini__.py
Incidentally your __init__.py is incorrectly named __ini__.py
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: mpy-dev-tools
Your fuse library looks nice, I'll have to give it a proper try.
Probably worth mentioning that Nick Zoic has had a go at a very similar set of features with his mpy-utils library. Maybe you can compare notes?
Also, Damien has gone about solving the problem somewhat differently; he's mounted an external filesystem on the Micropython device. Check out PR3034 for the details. Still early days but it's a promising approach.
Probably worth mentioning that Nick Zoic has had a go at a very similar set of features with his mpy-utils library. Maybe you can compare notes?
Also, Damien has gone about solving the problem somewhat differently; he's mounted an external filesystem on the Micropython device. Check out PR3034 for the details. Still early days but it's a promising approach.
Re: mpy-dev-tools
Thanks, its fixedpythoncoder wrote:Incidentally your __init__.py is incorrectly named __ini__.py
My command line tools are mostly by-products, my main intention was to have libraries to automate interaction with the micropython device.
As I understood most of the other tools, they are mostly designed for manual interaction.
Thats why I am decided to go for my own tools.
Re: mpy-dev-tools
rshell was also intended to be used for automation like things as well.
You can run rshell and either pass commands on the command line, or provide a script file with commands in it. I just figured I'd point that out in case anybody else is looking.
You can run rshell and either pass commands on the command line, or provide a script file with commands in it. I just figured I'd point that out in case anybody else is looking.