- Namekoman is similar to postman, to solve the problem of sending requests unfriendly using nameko shell. Right click to add a service, create a new module under the service, add methods under the module, and will store the data in the namekoman.json and on disk
- Unzip namekoman.zip and put it in /Application directory, double click to open it. If there is a permission problem, system preferences->security and privacy->general, click allow to open it
- After completing the previous step, you can enter the /Application director to find namekoman, and right click to select show package, then enter Contents/Resources.You will find namekoman.json, you can edit it
- Namekoman successfully sends the request depends on rabbit mq. Please config broker, default broker: amqp:https://guest:guest@localhost
- Rpc timeout defaults to 10s.
- In the process of editing params, there will be a surprise if you can press cmd+r
- Python3.6
- PyQt5
- nameko
- pyinstaller
pyinstaller -D -y -w namekoman.py
- Analysis
- datas: specify the files that need to be packaged into app
- hiddenimports: specify additional dependent packages
- BUNDLE
- icon: specify the app icon
- info_plist: app info
pyinstaller -D -y namekoman.spec
- namekoman类似于postman,是为了解决使用nameko shell发送请求麻烦的问题。 按右键可以添加服务,服务下可以新建模块,模块下可以添加方法,数据会存储在namekoman.json文件中,保存在磁盘上
- 解压namekoman.zip将namekoman放到/Applications目录下,双击打开,如遇权限问题,系统偏好设置->安全性与隐私->通用,点击允许打开
- 在做完上一步之后,可以进入/Applications目录找到namekoman,右键选择显示包内容,进入Contents/Resources, 找到namekoman.json,可以对其进行编辑,以快速导入请求数据
- namekoman成功发送成功请求需依赖mq,本地请启动mq,之后需配置broker,默认broker:amqp:https://guest:guest@localhost
- rpc超时时间默认为10s
- 编辑params过程中,按下cmd+r,会有惊喜
- 新建的service和method不建议输入中文,也不应该输入中文,可能会导致程序异常(这条待定)
- 有建议或有bug可以向我反馈
- TODO:1) app体积太大 2) 如果返回结果非常非常多,页面有可能会有一点卡顿
- 感谢
- Python3.6
- PyQt5
- nameko
- pyinstaller
pyinstaller -D -y -w namekoman.py
- Analysis
- datas指定需要打包进app的文件
- hiddenimports指定额外依赖的包
- BUNDLE
- icon指定图标
- info_plist说明程序信息,可以按照git仓库的文件进行配置
pyinstaller -D -y namekoman.spec