Skip to main content

万网AI云平台SDK

Project description

WWAI云平台SDK

demo 说明

pip install wwai-sdk
import wwai_sdk
import asyncio

# grant_type="client_credential" 为客户端模式
# authorization 从WWAI云平台获取,路径:系统管理 > 终端管理 > 新建终端
client = wwai_sdk.create_client(
    grant_type="client_credential",
    authorization="Basic xxxxxxx"
)

# 身份证识别
res = asyncio.run(client.ocr_idcard("https://ai.bdstatic.com/file/96D2F45674F54D4287EB9FBF9E6AB19A", "front"))
print(res)

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

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

wwai_sdk-0.0.5-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file wwai_sdk-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: wwai_sdk-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for wwai_sdk-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2faeeb2a7b7a49d01c8c1e196ebe40ff2b2293064ca8029d780bfd9b5ba40607
MD5 543cb915d6c541c9b56f358143433935
BLAKE2b-256 a31334df36bd668448bb2651301b86c363eb32621d253a29fe309aab7f025019

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