TuringRobots
What?
Simple dialogue test Turing robot.
Install
pip install TuringRobots
Usage/Example
from TuringRobots import TuringRobots
while True:
userinput = input(":>>>")
if userinput == "0":
break
else:
code, content = TuringRobots(userinput, over_print=False)
print("回答:", content)
Exception return code
| 5000 | 无解析结果 |
|---|---|
| 6000 | 暂不支持该功能 |
| 4000 | 请求参数格式错误 |
| 4001 | 加密方式错误 |
| 4002 | 无功能权限 |
| 4003 | 该apikey没有可用请求次数 |
| 4005 | 无功能权限 |
| 4007 | apikey不合法 |
| 4100 | userid获取失败 |
| 4200 | 上传格式错误 |
| 4300 | 批量操作超过限制 |
| 4400 | 没有上传合法 userid |
| 4500 | userid申请个数超过限制 |
| 4600 | 输入内容为空 |
| 4602 | 输入文本内容超长(上限150) |
| 7002 | 上传信息失败 |
| 8008 | 服务器错误 |
| 0 | 上传成功 |
ChangeLog
- Put forward the idea of「提出想法」:June 18, 2022「2022年06月18日」
- Starting date「首发日期」:June 20, 2022「2022年06月20日」
Error
失效请提交 issue。
Invalid please submit issue.
AI悦创·推出辅导班啦,包括「Python 语言辅导班、C++ 辅导班、java 辅导班、算法/数据结构辅导班、少儿编程、pygame 游戏开发」,全部都是一对一教学:一对一辅导 + 一对一答疑 + 布置作业 + 项目实践等。当然,还有线下线上摄影课程、Photoshop、Premiere 一对一教学、QQ、微信在线,随时响应!微信:Jiabcdefh
C++ 信息奥赛题解,长期更新!长期招收一对一中小学信息奥赛集训,莆田、厦门地区有机会线下上门,其他地区线上。微信:Jiabcdefh
Metadata
Release files for TuringRobots 1.2.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| TuringRobots-1.2.12.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| TuringRobots-1.2.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.4 kB
Release files / TuringRobots-1.2.12.tar.gz
| Download URL | TuringRobots-1.2.12.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf02802766ad046b7488bc49ee0cb99041a07c260a38c5bf45f6407f61eda85c
|
|
BLAKE2b-256 checksum How to use checksums |
d97e07db6962e572170672def15ad2391d082aaf205eba2ab6944b9b9e0df6f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Release files / TuringRobots-1.2.12-py3-none-any.whl
| Download URL | TuringRobots-1.2.12-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f95af9edc4514b12e5b957c752cd2644d7d062759c155537cee01293b4444fd2
|
|
BLAKE2b-256 checksum How to use checksums |
dacdad42cc0c741af6aa848bf6095c8c0cbd97ae9f4cd314793419c8e5e01aa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|