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
- Host: GitHub
- URL: https://github.com/lizeyan/itchatsh
- Owner: lizeyan
- License: mit
- Created: 2017-07-01T12:08:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-02T09:46:30.000Z (almost 9 years ago)
- Last Synced: 2025-12-27T08:44:26.258Z (6 months ago)
- Topics: python, tool, utility, wechat
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/`