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

Uploaded Source

Built Distribution

molo.servicedirectory-7.0.2-py2-none-any.whl (23.4 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: molo.servicedirectory-7.0.2.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.14

File hashes

Hashes for molo.servicedirectory-7.0.2.tar.gz
Algorithm Hash digest
SHA256 1808bc08de16dcad8f577c91c8e349c5291daad67c807e9fde3ed6bd75a27201
MD5 60612c3c375d3d18f8b8b9d7b42d174f
BLAKE2b-256 8c920cdf391c40b8e0e0dc93bc07ab968d3d1df7b4160156d088338ec838a85c

See more details on using hashes here.

Provenance

File details

Details for the file molo.servicedirectory-7.0.2-py2-none-any.whl.

File metadata

  • Download URL: molo.servicedirectory-7.0.2-py2-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/2.7.14

File hashes

Hashes for molo.servicedirectory-7.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 c88ee14edc3021a9b8c9945a446d0f1b3f7351574274a707482dacc6ca28c4a2
MD5 322ddd7483d4eccd280b5d5f1b5303a6
BLAKE2b-256 638a19ef8a2f81b98d1b4f5ef491927bf8401619b22bdbb74e349f2dda3f74c1

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