Skip to main content

This is a CLI management tool for MicroPython-based XNode.

Help

xnode

or

xnode --help

Find serial port

xnode scan

Option Rules

  • Options and values can have spaces or omit spaces.
  • Options and values can be inserted with the = character.
<option><value>  
<option> <value>
<option>=<value> 

Initialize XNode file system (Only xnode type b)

xnode -s<com_port_name> init

or

xnode --sport<com_port_name> init

<com_port_name> is the port number found by scan.

Check list of XNode file systems

xnode -s<com_port_name> ls
xnode -s<com_port_name> ls /flash/lib/xnode/pop

Put PC file or directroy into XNode

xnode -s<com_port_name> put my.py /flash/main.py

my.py is the name of the script written on the PC, main.py is the name to be installed on XNode

Automatically runs /flash/main.py if it exists when XNode starts

Get XNode file to PC

xnode -s<com_port_name> get /flash/main.py main.py

Delete XNode file or directory

xnode -s<com_port_name> rm /flash/main.py

Executes the PC's MicroPython script by sequentially passing it to the XNode

xnode -s<com_port_name> run app.py

Wait for serial output until the script finishes

To force quit in running state, press Ctrl+c

Additional Options

  • -in (or default): Does not display the pressed key in the terminal window (Echo off)
  • -i: Display the pressed key in the terminal window (Echo on)
  • -n: Does not wait for serial output, so it appears as if the program has terminated on the PC side.
    • Script continues to run on XNode
    • Used to check data output serially from XNode with other tools (PuTTY, smon, etc.)

Metadata

Release files for xnode 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xnode 1.4.0
File Size Uploaded
xnode-1.4.0.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xnode 1.4.0
File Interpreter ABI Platform
xnode-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 kB

Release files / xnode-1.4.0.tar.gz

Download URL xnode-1.4.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8b4ac4b2f5420ec512584b52643f6329afd73cff7a317e788621162a5f2ba700
BLAKE2b-256 checksum
How to use checksums
749ec66d0e24d5d32b13c09fd9adf7671d3e66c46ff3d3e5de6c5fa593d7f75c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / xnode-1.4.0-py3-none-any.whl

Download URL xnode-1.4.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9873b40e5d57b5eef9627cb4b5c2d97ba7c2672191cd945fc22c18696d85b7a0
BLAKE2b-256 checksum
How to use checksums
34af7d70061308df5c52a8f70e68c88b323e40f4f453172546efb2eb6bd0525b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

1.3.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page