Skip to main content

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

transfer_phone-1.4-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file transfer_phone-1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for transfer_phone-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f76d2b10e269195be33b5275e063016e0f82199f51c961c43548656c1fb0b679
MD5 1b7866509fc0c2db9f300922d57ae2a7
BLAKE2b-256 62ccedb01e98a98b9a596b74e1a469964269a5ddb7c8448e8c600083bb9c7782

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page