Longleding Account Service SDK
Project description
Longleding Account Settings Service SDK
Supported Python Versions
Python >= 3.6
Installation
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)
Troubleshoot
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:
export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION='python'
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size longleding_account_service_sdk-0.1.5-py3-none-any.whl (24.9 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size longleding-account-service-sdk-0.1.5.tar.gz (10.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for longleding_account_service_sdk-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37d6593e638bd57439036c8a3252abed2625f2af6a47406ca0fa78ab6edc94f0 |
|
MD5 | 5d269444d47ed03c31e31346113bc9b3 |
|
BLAKE2-256 | e2ab5b099cb0b8d708029ffd514bcfbe35bd62228c05b8c65008dde94f98e7a4 |
Close
Hashes for longleding-account-service-sdk-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 619ec12ccd61710948e197258028f7df93e630ce4a6e5017994dd8dc2c6df535 |
|
MD5 | 22f4f8baefdf87d6524357cd94430f55 |
|
BLAKE2-256 | e99ac819110e0918a4b9e8bf4b95a0054d1f245f2a7d76c3d75cf4c5906f127e |