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.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wwai_sdk-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bbcc9d96b9f4da27b6020ab62ed5f0312ac96b3a474e7472def30e71f3f00738
MD5 0bbc36a5391302a790cfeead24120635
BLAKE2b-256 b0773cf9a3d65cd785dc2cadc5af088547064805313a1e46d371b4edc260aad1

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