https://github.com/rfyiamcool/uwsgi_cli
easy uwsgi cli tools !!!
https://github.com/rfyiamcool/uwsgi_cli
python uwsgi
Last synced: 7 months ago
JSON representation
easy uwsgi cli tools !!!
- Host: GitHub
- URL: https://github.com/rfyiamcool/uwsgi_cli
- Owner: rfyiamcool
- License: mit
- Created: 2017-01-16T08:58:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-02T05:01:31.000Z (almost 8 years ago)
- Last Synced: 2025-03-15T15:54:31.079Z (7 months ago)
- Topics: python, uwsgi
- Language: Python
- Homepage: http://xiaorui.cc
- Size: 5.86 KB
- Stars: 47
- Watchers: 2
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# uwsgi_cli
match uwsgi protocol, support http get、post requests uwsgi server.
`to do list:`
* add debug mode, print uwsgi body
## install
```
pip install uwsgi_cli
```## help
```
uwsgi_cli -h
```if not found uwsgi_cli bin, please set PATH . ( /usr/local/bin/ )
### http mode
```
uwsgi_cli http 127.0.0.1:5000 /blog
```### unix socket mode
```
uwsgi_cli unix /tmp/xiaorui.sock /
```### tcp socket mode
```
uwsgi_cli tcp 127.0.0.1:5000 /mp/article
```
### post
```
uwsgi_cli tcp 127.0.0.1:5000 /cool/fetch "url=xiaorui.cc&name=fengyun"
```