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.1.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file transfer_phone-1.1.tar.gz
.
File metadata
- Download URL: transfer_phone-1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cfe49ac06cba75d11c75609a48b1e977a875f193bb396bdde99d83d2b5f32bd |
|
MD5 | 47c2f6a06034930ad878b93fd8244621 |
|
BLAKE2b-256 | 249f42e92f271554ab00bd6d347470fb77c5797e1df2aa83dd553fad40301e13 |
File details
Details for the file transfer_phone-1.1-py3-none-any.whl
.
File metadata
- Download URL: transfer_phone-1.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f50cb2d45b3a1afa6a312e9de022888ed155a0bc0833ea97c908d60e3a94dc04 |
|
MD5 | b2122f68cdb09dd4fd004447ff142a11 |
|
BLAKE2b-256 | 848c28d73385162f89ec6f9b57eb159a17e44c32c85629a91c2b9c1deed3f7aa |