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

Uploaded Source

Built Distribution

molo.servicedirectory-11.1.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: molo.servicedirectory-11.1.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.7

File hashes

Hashes for molo.servicedirectory-11.1.0.tar.gz
Algorithm Hash digest
SHA256 514b51a890d884a6f25b26ef609b6ddf0225e93899f5352556e6a6fd7bca1ca4
MD5 7e4b3ef307e1ef6d784015fb2060f4db
BLAKE2b-256 8c6a3e14c4a9c392ac09973b4bee2e83c4f5fb6e7cb372312f597fe99689f7e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: molo.servicedirectory-11.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.7

File hashes

Hashes for molo.servicedirectory-11.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fa074dd43fcf66b909796fedaa3c604a50af9f2dc9bbfe8da2088fb7949eae3
MD5 4603e39e25fffd6aaf29e8a271421807
BLAKE2b-256 0bbcaccf8f03485d6e7289c8ffdeb1c0e155967ffc54c2fb612abee5643231ba

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