Skip to main content

Longleding Account Service SDK

Project description

Longleding Account Settings Service SDK

Supported Python Versions

Python >= 3.6


longleding-account-service-sdk is available for Linux, macOS, and Windows.

$ pip install longleding-account-service-sdk

Basic Usage

# -*- coding: utf-8 -*-
from sdk import account_service

account_service_endpoint = "localhost:80"
source_name = "demo"

account_service.init_service(endpoint=account_service_endpoint, src=source_name)

if __name__ == '__main__':
    account_service.get_user_list([1, 3, 5])
    account_service.get_user_page_list(1, 10)


If you encounter error messages similar to the following:

TypeError: Couldn't build proto file into descriptor pool!
Invalid proto descriptor for file "common.proto":
  common.proto: A file with this name is already in the pool.

Setting an environment variable the following before running:


See also

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

longleding-account-service-sdk-0.1.5.tar.gz (10.9 kB view hashes)

Uploaded source

Built Distribution

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