Skip to main content

适用于FasS业务的获取参数列表以及返回错误信息库

Project description

easyfc使用介绍

1. 开发目的

简化云函数开发的代码量,方便开发人员迅速组织云开发服务

2. 快速开始

方式1: 使用pip进行安装

pip install easyfc

方式2: 自行下载安装

打开pipy 下载.whl文件或者.tar.gz 文件安装 下载位置

3. 演示使用

(1)获取含有json的请求数据
from easyfc.parse import get_json
environ = {} # environ是函数入口提供的参数
jsonParams = get_json(environ)
(2)获取请求头内参数
from easyfc.parse import get_headers
environ = {} # environ是函数入口提供的参数
params = get_headers(environ)
(3)获取请求query
from easyfc.parse import get_params
environ = {} # environ是函数入口提供的参数
params = get_params(environ)
(4) 返回200状态并且返回文本
from easyfc.response import ok_text_start_response
def handler(environ):
   return ok_text_start_response()

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

easyfc-0.0.11.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

easyfc-0.0.11-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file easyfc-0.0.11.tar.gz.

File metadata

  • Download URL: easyfc-0.0.11.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.6

File hashes

Hashes for easyfc-0.0.11.tar.gz
Algorithm Hash digest
SHA256 08b9519141d310023d1f58ac0574ec85e2526a62f9ea1fe1a82e002269a35ae9
MD5 31a582420c68834920ebae92af215d2e
BLAKE2b-256 9fd3da14c778ed1c9e1038ad232875193b3f0a12695e9073928554934adfeecc

See more details on using hashes here.

File details

Details for the file easyfc-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: easyfc-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.6

File hashes

Hashes for easyfc-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b3cc1c092c3a860552fe3b2f0b566c19ab727ea035f737c1304d4aba9dcf96a1
MD5 c758f622f7cc9bf056cd4098355e0eda
BLAKE2b-256 4c8d085087cd73ad0a691662a9c94d5eac7a7d60af5e43e8d5e96d92d51c10a1

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