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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file transfer_phone-1.4-py3-none-any.whl
.
File metadata
- Download URL: transfer_phone-1.4-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 | f76d2b10e269195be33b5275e063016e0f82199f51c961c43548656c1fb0b679 |
|
MD5 | 1b7866509fc0c2db9f300922d57ae2a7 |
|
BLAKE2b-256 | 62ccedb01e98a98b9a596b74e1a469964269a5ddb7c8448e8c600083bb9c7782 |