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.

Filename, size & hash SHA256 hash help File type Python version Upload date
cppcloud-1.0.3.tar.gz (21.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page