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-8.0.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: molo.servicedirectory-8.0.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for molo.servicedirectory-8.0.0.tar.gz
Algorithm Hash digest
SHA256 89ff8bd958137bb3325339fc0ccc5ae5b42671405b75e72ec936243c8d6160b4
MD5 b535b0803153147bb25083554acc2740
BLAKE2b-256 ace0fa18d5a6fcdbfe5531993b3cc578bbe465c1461b1a08521b7bb2b8133bfe

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: molo.servicedirectory-8.0.0-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for molo.servicedirectory-8.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be9aec64dfd722f0912adaa757132b0298a5113cab50abf5b7396fcd5d29a435
MD5 15d51f6e1caa4c40ac1cbe041d5fc10e
BLAKE2b-256 98d39719b56d472780a604b3ee0ace9d80fa0ffc101e9ea8204e5291b9fa2037

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