Defect relation mapping
Project description
1.安装
pip install transfer_phone
2.测试用例
from transfer_phone.transfer_phone import paramTransfer
if __name__ == '__main__':
#安卓手机数据传入 例
# 没有对应的瑕疵时穿入空字符串
data = {
"model": "荣耀 X20",
"netWork":"全网通",
"purchaseChannel":"国行",
"color": "银色",
"ram": "6G",
"storage": "256G",
"warranty_period":"",
"damageInfor":
{"使用功能": "电池健康度100%|后摄像头拍照有斑|光线/距离感应异常", "屏幕显示": "显示明显老化", "机身外观": "外壳缺失/裂缝/孔变形/翘起/刻字|屏幕硬划痕(≥10毫米)"}
}
trans = paramTransfer()
result = trans.returnSearchPriceParam(data)
print(result)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
transfer_phone-1.2.tar.gz
(1.0 MB
view details)
Built Distribution
File details
Details for the file transfer_phone-1.2.tar.gz
.
File metadata
- Download URL: transfer_phone-1.2.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e414b40ea638986b4e4970bf41612b1b5233577d25d267718cd449233298135f |
|
MD5 | 4441567bcbbcbb9ddd4335453c1c96ed |
|
BLAKE2b-256 | 3bfc699ed8a71be04cbfac866b4d3b576bb7bf7b3dc7de725df8bf642d29f11a |
File details
Details for the file transfer_phone-1.2-py3-none-any.whl
.
File metadata
- Download URL: transfer_phone-1.2-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89c8eaff089de4240c56c9c2227ed510043c107cb8abc51ffb6fc7dae7c3d3ce |
|
MD5 | 769165c19ceb84084179f05768ccc95a |
|
BLAKE2b-256 | fb94ba580f59184ab3df9bd0ea17962ce2ce8f92bd292712174c2e9d3bc3d60e |