Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dhylands/upy-shell
MicroPython shell
https://github.com/dhylands/upy-shell
Last synced: 11 days ago
JSON representation
MicroPython shell
- Host: GitHub
- URL: https://github.com/dhylands/upy-shell
- Owner: dhylands
- License: mit
- Created: 2014-07-31T07:23:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T21:57:58.000Z (over 6 years ago)
- Last Synced: 2024-10-12T05:25:06.033Z (27 days ago)
- Language: Python
- Size: 136 KB
- Stars: 38
- Watchers: 11
- Forks: 10
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython-lib - upy-shell - Command line based shell for MicroPython (Util)
- awesome-micropython - upy-shell - A simple command line-based shell for MicroPython. (Development / Shells)
README
upy-shell
=========MicroPython shell
This is a very simple command line based shell for MicroPython.
It is based on a stripped down version of cmd, which can be found
here: https://github.com/micropython/micropython-lib/tree/master/cmdI use it by copying cmd.py an shell.py to my sdcard.
Then you can do:
```python
import shell
```
This will automatically run it. If you want to reinvoke it, then use:
```python
shell.run()
```The shell has a notion of current directory, and you can use the cd command
to move around.Use help to find out available commands.
Note: If you are running an older version of Micropython, you should update it. A lot of the functions used were introduced recently.