Skip to main content

Longleding System Settings Service SDK

Project description

Longleding System Settings Service SDK

Supported Python Versions

Python >= 3.6

Installation

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

$ pip install longleding-system-settings-service-sdk

Basic Usage

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

system_settings_service_endpoint = "localhost:80"
source_name = "demo"

system_settings_service.init_service(endpoint=system_settings_service_endpoint, src=source_name)

if __name__ == '__main__':
  system_settings_service.get_version_doc_shot(1)
  system_settings_service.get_last_version_doc_shot()

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.

Source Distribution

Built Distribution

File details

Details for the file longleding-system-settings-service-sdk-0.1.5.tar.gz.

File metadata

  • Download URL: longleding-system-settings-service-sdk-0.1.5.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.0

File hashes

Hashes for longleding-system-settings-service-sdk-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1b7e364947600cab32a993fadbfece238dff0c66e595a059d7d4a5b4a01f5297
MD5 eb49e60e3ee89d27065f9f2d1a3784a8
BLAKE2b-256 2a4a8c101215fc7750371afdd64191dc6908527df67ae8716dd6dfff4fdbafe3

See more details on using hashes here.

File details

Details for the file longleding_system_settings_service_sdk-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for longleding_system_settings_service_sdk-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 10d5ce26eea582a69d91c17501737d1217c4baaa3beb5639acac8d7b9d43a74a
MD5 a6e5111d6be35cb3e62d7037810a5fa6
BLAKE2b-256 af579304266c1143e84a6314c9d7591bd906a0575d7046056565e5ee3202e6c7

See more details on using hashes here.

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