Skip to main content

Python client library for Site Configuration API

Project description

CI

Site Configuration Client

REST API client for the Site Configuration service.

Compatibility

This package tested with both Python 3.9 and Python 3.5.

It has few required and optional dependencies:

  • requests: Required. Explicitly specified in setup.py

  • django: Optional. Tested to work with both Django 3 and Django 2.

  • google-cloud-storage: Optional. Tested with version 1.x.

For the exact versions please refer to both setup.py and the requirements directory.

Installation

Install the site-configuration-client dependency from PyPi either via server-vars.yml or other build processes such as Docker.

Add the following settings to server-vars.yml (or lms.yml depending on your deployment configuration).

SITE_CONFIG_BASE_URL: "https://siteconfig:14000/"
SITE_CONFIG_API_TOKEN: "api token goes here"
SITE_CONFIG_ENVIRONMENT: "development"

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

site-configuration-client-0.2.4.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

site_configuration_client-0.2.4-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file site-configuration-client-0.2.4.tar.gz.

File metadata

File hashes

Hashes for site-configuration-client-0.2.4.tar.gz
Algorithm Hash digest
SHA256 cf11ede6b9270c2911391e69c7b2be9d4f52b17a3449dafa4de6463d025c1c72
MD5 f815a42d626e12e64195ee0e48be9c1c
BLAKE2b-256 497195c2562465535889c9e71458b01655155ff8832b87234e2c3f0382318061

See more details on using hashes here.

File details

Details for the file site_configuration_client-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for site_configuration_client-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 37df3fa046f505abbc8d7e07a18c1080f02c72c2699bc39399713a3f15b9b1ad
MD5 8d952663e631aa296f3c914060e6a4b5
BLAKE2b-256 6b515ae85e63a9e3eb071ea12d0a194fba840f9bc62fb2d2125c8d0bcb042102

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