Skip to main content

带带弟弟小工具

Project description

带带弟弟小工具

1.功能

  • 爬虫基类
  • 爬虫基类2(selenium)
  • mail
  • ftp 下载;删除
  • retry 重试器,只支持在类中使用
  • mysql 操作类
  • get_ffdm_api 斐斐打码
    # 示例
    from dddd_utils import get_ffdm_api
    config = {
      "pd_id": "",
      "pd_key": "",
      "app_id": "",
      "app_key": ""
    }
    api = get_ffdm_api(**config)
    pred_type = "20400"  # 
    code_image_path = ""
    res = api.PredictFromFile(pred_type, code_image_path)  # 返回详细识别结果
    print(res.pred_rsp.value)
    

  1. 使用

    pip install -i https://pypi.org/simple/ dddd-utils
    
  2. 打包

    python3 -m build
    
    python3 -m twine upload --repository testpypi dist/*
    
    python3 -m twine upload --repository pypi dist/*
    

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

dddd_utils-0.0.7.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dddd_utils-0.0.7-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file dddd_utils-0.0.7.tar.gz.

File metadata

  • Download URL: dddd_utils-0.0.7.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for dddd_utils-0.0.7.tar.gz
Algorithm Hash digest
SHA256 9182776fabdc8c844ddd8fe437af77191f4cc894de76bcd791955307d2291b86
MD5 41b26e9310dc9d241958c71b2db3293f
BLAKE2b-256 ce2f038aaa9b1a1c99c5b56050b5c658e4f29f9631880abce65f6f812e7a8a65

See more details on using hashes here.

File details

Details for the file dddd_utils-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: dddd_utils-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for dddd_utils-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1fcdf8a59e7d0cbd33d9e2128eb44665d73c698cd6193b1faa29e18b85474abe
MD5 431524b3ff1871f4fd23c420f19cfb3c
BLAKE2b-256 842236dc0aefd9473bbeff755cd68922412b0b89aa6243e3005120a61fd1514d

See more details on using hashes here.

Supported by

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