Skip to main content

This is the molo.servicedirectory project.

Project description

A molo module for calling service directory.

The following keys should be set in the django projects settings file (the values are only examples):

SERVICE_DIRECTORY_API_BASE_URL = ‘http://0.0.0.0:8000/api/

SERVICE_DIRECTORY_API_USERNAME = ‘root’ SERVICE_DIRECTORY_API_PASSWORD = ‘admin’

GOOGLE_PLACES_API_SERVER_KEY = ‘thisisnotarealkeyreplaceitwithyourown’

ideally things like the passwords and api keys should be kept out of the repository and possibly included in the settings through importing from a secrets file that is ignored by the version control.

eg in settings.py:

try:

from secrets import *

except ImportError:

raise

https://img.shields.io/travis/praekelt/molo.servicedirectory.svg https://img.shields.io/pypi/v/molo.servicedirectory.svg Code Coverage molo.servicedirectory Docs

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

molo.servicedirectory-10.0.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

molo.servicedirectory-10.0.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file molo.servicedirectory-10.0.0.tar.gz.

File metadata

  • Download URL: molo.servicedirectory-10.0.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for molo.servicedirectory-10.0.0.tar.gz
Algorithm Hash digest
SHA256 6a5965c0c7559dd4c95d7e0babb676b3fa829e2195c7b9280b681955d6dc0cd2
MD5 0682b70a3b0cd4d996b313f8bb38beb0
BLAKE2b-256 b6c6a85343f1067929b5dedf355b310616ec6ccd48c3b0d0bc7a4df8907de3e2

See more details on using hashes here.

Provenance

File details

Details for the file molo.servicedirectory-10.0.0-py3-none-any.whl.

File metadata

  • Download URL: molo.servicedirectory-10.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for molo.servicedirectory-10.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcd7f04b5647c6b6fc45f13ceefad8202cae5c8054f93a3f6179f8aa3230cdd1
MD5 9756a31158202f99b3fb7224bc3fca7b
BLAKE2b-256 37ff74b536446b824b16197bceeb65ef9e6137f50d583d65917a8d7e6c1f29e7

See more details on using hashes here.

Provenance

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