xnode


Namexnode JSON
Version 1.0.0.1 PyPI version JSON
download
home_pagehttps://github.com/planxstudio/xkit
SummaryThis is a CLI management tool for MicroPython-based XNode.
upload_time2024-04-11 05:22:13
maintainerNone
docs_urlNone
authorchanmin.park
requires_python>=3.11
licenseNone
keywords micropython xnode
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This is a CLI management tool for MicroPython-based XNode.

### Help
```sh
xnode
```
or
```sh
xnode --help
```

### Find serial port
```sh
xnode scan
```

### Option Rules
- Options and values can have spaces or omit spaces.
- Options and values can be inserted with the = character.

```sh
<option><value>  
<option> <value>
<option>=<value> 
```

### Initialize XNode file system (Only xnode type b)
```sh
xnode -s<com_port_name> init
```
or
```sh
xnode --sport<com_port_name> init
```
> \<com_port_name\> is the port number found by scan. 

### Check list of XNode file systems
```sh
xnode -s<com_port_name> ls
xnode -s<com_port_name> ls /flash/lib/xnode/pop
```

### Put PC file into XNode
```sh
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
```sh
xnode -s<com_port_name> get /flash/main.py main.py
```

### Delete XNode file
```sh
xnode -s<com_port_name> rm /flash/main.py
```

### Executes the PC's MicroPython script by sequentially passing it to the XNode
```sh
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**
   - -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.)
   - -ni (or -in): Does not display the pressed key in the terminal window (Echo off)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/planxstudio/xkit",
    "name": "xnode",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "micropython, xnode",
    "author": "chanmin.park",
    "author_email": "devcamp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/94/c9/fd8e56c58202a0253116084284b8ca32bd3de78192ab81f02b7009d06bab/xnode-1.0.0.1.tar.gz",
    "platform": null,
    "description": "This is a CLI management tool for MicroPython-based XNode.\r\n\r\n### Help\r\n```sh\r\nxnode\r\n```\r\nor\r\n```sh\r\nxnode --help\r\n```\r\n\r\n### Find serial port\r\n```sh\r\nxnode scan\r\n```\r\n\r\n### Option Rules\r\n- Options and values can have spaces or omit spaces.\r\n- Options and values can be inserted with the = character.\r\n\r\n```sh\r\n<option><value>  \r\n<option> <value>\r\n<option>=<value> \r\n```\r\n\r\n### Initialize XNode file system (Only xnode type b)\r\n```sh\r\nxnode -s<com_port_name> init\r\n```\r\nor\r\n```sh\r\nxnode --sport<com_port_name> init\r\n```\r\n> \\<com_port_name\\> is the port number found by scan. \r\n\r\n### Check list of XNode file systems\r\n```sh\r\nxnode -s<com_port_name> ls\r\nxnode -s<com_port_name> ls /flash/lib/xnode/pop\r\n```\r\n\r\n### Put PC file into XNode\r\n```sh\r\nxnode -s<com_port_name> put my.py /flash/main.py\r\n```\r\n> my.py is the name of the script written on the PC, main.py is the name to be installed on XNode  \r\n>> Automatically runs /flash/main.py if it exists when XNode starts\r\n\r\n### Get XNode file to PC\r\n```sh\r\nxnode -s<com_port_name> get /flash/main.py main.py\r\n```\r\n\r\n### Delete XNode file\r\n```sh\r\nxnode -s<com_port_name> rm /flash/main.py\r\n```\r\n\r\n### Executes the PC's MicroPython script by sequentially passing it to the XNode\r\n```sh\r\nxnode -s<com_port_name> run app.py\r\n```\r\n> Wait for serial output until the script finishes  \r\n>> To force quit in running state, press Ctrl+c\r\n\r\n**Additional Options**\r\n   - -n: Does not wait for serial output, so it appears as if the program has terminated on the PC side.\r\n     - Script continues to run on XNode\r\n     - Used to check data output serially from XNode with other tools (PuTTY, smon, etc.)\r\n   - -ni (or -in): Does not display the pressed key in the terminal window (Echo off)\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "This is a CLI management tool for MicroPython-based XNode.",
    "version": "1.0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/planxstudio/xkit"
    },
    "split_keywords": [
        "micropython",
        " xnode"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5fbe3aee3d375564939a05dbc49cb9734353ac15582fc697da0a32b9d5dbe00e",
                "md5": "4bb9d1ad40e6934c6e1e7a380fe16456",
                "sha256": "d16e4a33e40cf4187371e5351c28361d5af1472cdf57d2d9069e667fcb3efdee"
            },
            "downloads": -1,
            "filename": "xnode-1.0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4bb9d1ad40e6934c6e1e7a380fe16456",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 16914,
            "upload_time": "2024-04-11T05:22:12",
            "upload_time_iso_8601": "2024-04-11T05:22:12.371594Z",
            "url": "https://files.pythonhosted.org/packages/5f/be/3aee3d375564939a05dbc49cb9734353ac15582fc697da0a32b9d5dbe00e/xnode-1.0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94c9fd8e56c58202a0253116084284b8ca32bd3de78192ab81f02b7009d06bab",
                "md5": "9f56dd885aee18cc0a6b4e366053e521",
                "sha256": "ab735652591e94be2b68d856dfb1571251e0ff0bd228d69bd93847f28b3020fa"
            },
            "downloads": -1,
            "filename": "xnode-1.0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9f56dd885aee18cc0a6b4e366053e521",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 15989,
            "upload_time": "2024-04-11T05:22:13",
            "upload_time_iso_8601": "2024-04-11T05:22:13.898980Z",
            "url": "https://files.pythonhosted.org/packages/94/c9/fd8e56c58202a0253116084284b8ca32bd3de78192ab81f02b7009d06bab/xnode-1.0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-11 05:22:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "planxstudio",
    "github_project": "xkit",
    "github_not_found": true,
    "lcname": "xnode"
}
        
Elapsed time: 0.22815s