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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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