An open API service indexing awesome lists of open source software.

https://github.com/lizeyan/itchatsh

Shell on WeChat. Communication between your cellphone and running program on servers. Based on itchat
https://github.com/lizeyan/itchatsh

python tool utility wechat

Last synced: 5 months ago
JSON representation

Shell on WeChat. Communication between your cellphone and running program on servers. Based on itchat

Awesome Lists containing this project

README

          

# ItChatSh

Suppose that there is a deep neural network running on a server, you may want to know the training progress in time and adjust parameters based on the output. ItChatSh makes it convenient to communicate between running python programs and your cellphone(by WeChat). ItChatSh is based on [ItChat](https://github.com/littlecodersh/ItChat).


## Install

1. use setuptools
``` bash
python3 setup.py install
```

2. use pip (recommanded)
``` bash
pip3 install itchatsh
```

## Usage

``` python
import itchatsh
import os
import time

@itchatsh.register("ls")
def ls(path="."):
return "\n".join(os.listdir(path))

if __name__ == '__main__':
itchatsh.start(hotReload=True, block_thread=True)
```

There are more examples in `./example/`