Skip to main content

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

Metadata

Release files for longleding-account-service-sdk 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for longleding-account-service-sdk 0.1.5
File Size Uploaded Provenance
longleding-account-service-sdk-0.1.5.tar.gz 10.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for longleding-account-service-sdk 0.1.5
File Interpreter ABI Platform
longleding_account_service_sdk-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 35.8 kB

Release files / longleding-account-service-sdk-0.1.5.tar.gz

Download URL longleding-account-service-sdk-0.1.5.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
619ec12ccd61710948e197258028f7df93e630ce4a6e5017994dd8dc2c6df535
BLAKE2b-256 checksum
How to use checksums
e99ac819110e0918a4b9e8bf4b95a0054d1f245f2a7d76c3d75cf4c5906f127e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

Release files / longleding_account_service_sdk-0.1.5-py3-none-any.whl

Download URL longleding_account_service_sdk-0.1.5-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37d6593e638bd57439036c8a3252abed2625f2af6a47406ca0fa78ab6edc94f0
BLAKE2b-256 checksum
How to use checksums
e2ab5b099cb0b8d708029ffd514bcfbe35bd62228c05b8c65008dde94f98e7a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

Security for longleding-account-service-sdk 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page