Skip to main content

a python interface for thrift api in didapinche.

Project description

Installation

Install with pip.

$ pip install thrift4p

Code Demo

from thrift4p import generate_client_from_zk

client = generate_client("com.didapinche.thrift.dm.hub.holder.DmOperationHubService","192.168.1.48:2282,192.168.1.49:2282")

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

thrift4p-0.13rc0.tar.gz (21.4 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