Page 1 of 1

mpypack: project packup and upload tool for mpy

Posted: Thu Aug 12, 2021 12:47 pm
by Dreagonmon
mpypack is a micropython project packing tool. this will make the development of big project more easily.

The whole project folder will sync to the mpy board, you can upload the folder with a single command.
mpypack will only upload the necessary files, so a big project in a folder will not be a problem.
And it can also compile the code automatically before upload (with mpy-cross).

Details on github: mpypack

The useage is simple, to build the project:

Code: Select all

mpypack build
to upload the project to board:

Code: Select all

mpypack -p [port] sync
with the config file .mpypack.conf, you can skip the "port" parameter, and test your code easily. the project will be upload to the board, and open a "REPL" for you to test your code:

Code: Select all

mpypack sync; mpypack repl
Here is an example project that using mpypack as its packing tool: play32_framework

Re: mpypack: project packup and upload tool for mpy

Posted: Thu Aug 12, 2021 1:21 pm
by PM-TPI
I'm interested in this tool.
Will you be producing a YouTube video to demonstrate its features?

Thanks

Re: mpypack: project packup and upload tool for mpy

Posted: Fri Aug 13, 2021 5:50 am
by Dreagonmon
PM-TPI wrote:
Thu Aug 12, 2021 1:21 pm
Will you be producing a YouTube video to demonstrate its features?
I`m sorry but YouTube is not available in China.

Why not have a try? You can install mpypack from pypi.

Ctreate main.py inside an empty folder, and run mpypack -p [port] sync, it will be uploaded to the board.
Connect the board using mpypack -p [port] repl, and restart with Ctrl + D, the code would run.