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 Distribution

transfer_phone-1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

transfer_phone-1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file transfer_phone-1.0.tar.gz.

File metadata

  • Download URL: transfer_phone-1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.5

File hashes

Hashes for transfer_phone-1.0.tar.gz
Algorithm Hash digest
SHA256 15ee495b923b3cc4f3f597c540350bb8f92c7b83736740deec8195f403b9c687
MD5 c09691f2813850cc3183c32c35320d2a
BLAKE2b-256 f8a6e8e22dd33b91bd09d0e48c7e6ff685718d223a72c64c5922ac18049adc33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for transfer_phone-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee5119ebcbade544dcc941d93bee1e5b011cee61bc3bf62f2889eeef2425559f
MD5 f9993e5e03edb65a77fbf688e69ac2b2
BLAKE2b-256 c4f5bb436c6157001c820d5aa79e5faee619d40930adf1d63ad9104bc8636475

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