Skip to main content

Django client for gddkia-impediments-on-roads

Project description

django-gddkia-impediments-on-roads

Django client for gddkia-impediments-on-roads.

Tests

Installation

pip install django-gddkia-impediments-on-roads

Quick Start

Configure cache options:

# Cache backend name
IMPEDIMENTS_CACHE_BACKEND_NAME = 'default'

# Cache key
IMPEDIMENTS_CACHE_KEY = 'impediments'

# Max time of cache
IMPEDIMENTS_CACHE_TIMEOUT = 3600

Simple usage:

from dj_impediments import get_impediments

impediments = get_impediments()

Settings

IMPEDIMENTS_CACHE_BACKEND_NAME

The backend name for Django cache mechanism where the data are stored.

Default: 'default'

IMPEDIMENTS_CACHE_KEY

The key in cache where the data are stored.

Default: 'impediments'

IMPEDIMENTS_CACHE_TIMEOUT

The time (in seconds) that the data is valid in cache.

Default: 3600 (1 hour)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_gddkia_impediments_on_roads-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file django_gddkia_impediments_on_roads-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django_gddkia_impediments_on_roads-1.0.0.tar.gz
Algorithm Hash digest
SHA256 843ab96119be41d385fc470bfd74acf78c58198e2e2d149476bc54b92eeb72bc
MD5 6d2b59aef199f57901460066c4955903
BLAKE2b-256 2c10fd5eb5732c7f05cc3ad6c9c03e09a224c231fdbe6724f419b1c3fe90684d

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_gddkia_impediments_on_roads-1.0.0.tar.gz:

Publisher: python-publish.yml on tomi77/django-gddkia-impediments-on-roads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_gddkia_impediments_on_roads-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_gddkia_impediments_on_roads-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40925632136dbc52a92a65df122512a6f9091b7a3ee0bbd558e5c51f9e36754b
MD5 f708617601da0bd9b03462f6a3cbbad4
BLAKE2b-256 a70e1145f8cfefda5851f9d120e62c7debd8cb5eb05511c6d2ff3a44dd9ee71f

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_gddkia_impediments_on_roads-1.0.0-py3-none-any.whl:

Publisher: python-publish.yml on tomi77/django-gddkia-impediments-on-roads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page