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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wwai_sdk-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f60a55f1e0b2e700d5b30a261d25d2f1f0f9fdedee0e1f5c82e9e0a2f32959
MD5 2ea32181e62cf85a3de46e7db873f3c8
BLAKE2b-256 35bc13dd05c97356b416dfd6cb760e3a102b22aad7e3a7dda7d4185cc860de85

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