Skip to main content

CppCloud python3 客户端sdk

Project description

## CppCloud python3客户端sdk

install: pip install cppcloud
package: cppcloud

import cppcloud

if __name__ == "__main__":
if not cppcloud.init('serv_host', 4800, svrname="TestApp"):
print('CloudApp start fail, exit')

# service job here


CloudApp实例是*CppCloud python*客户端sdk的核心,提供与服务端cppcloud_serv的长连接,

confObject() 分布式配置实例
statObject() 统计模块实例
providerObject() 服务提供者 # 无需实例,仅作初始化用
invokerObject() 服务消费者实例

ps: 如果某种实例无需用到,则不要调用对应的xxxObject()即可。

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

cppcloud-1.0.3.tar.gz (21.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page