Skip to main content

Alipay FaaS Client SDK

Project description

支付宝云开发ClientSDK

安装

pip install alipay-faas-client-sdk

使用

引用SDK,示例代码如下:

import json
from alipay_faas_client_sdk import Cloud


def main(event, context):
    cloud = Cloud(
        app_id="2021001234567890",
        env_id="env-00xyzxyzxyz",
        access_key_id="ak_xxxxx",
        access_key_secret="sk_yyyyy",
    )
    data = {"name": "bob", "age": 23}
    result = cloud.callFunction("add-user", data)
    print(json.dumps(result, indent=4, default=vars))

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

alipay_faas_client_sdk-0.0.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

alipay_faas_client_sdk-0.0.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file alipay_faas_client_sdk-0.0.1.tar.gz.

File metadata

  • Download URL: alipay_faas_client_sdk-0.0.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.5

File hashes

Hashes for alipay_faas_client_sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 78b4b622b74f46f9589cd0437067e86873189f7e6f9fcbb9e4073701b1045944
MD5 3dad612e607200df109b6e3ac95806e1
BLAKE2b-256 e758972ce9ad256d5718d513fd971cc3fc4df65c28e1f5f607745ebd0b01db51

See more details on using hashes here.

File details

Details for the file alipay_faas_client_sdk-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for alipay_faas_client_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c3367b72d18a7955ac7c156801f70eb23de21b3cbddf8a4088cb325c16d27c3
MD5 5d95f4b4ece148028c12b6cb09105f1f
BLAKE2b-256 71cf37f58c6da2bb88bb0d33efaa4d9311c9a28825a721fdcf5ea79a32c43151

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