privex.helpers.settings¶
Configuration options for helpers, and services they depend on, such as Redis.
To override settings from your app:
>>> from privex.helpers import settings
>>> settings.REDIS_HOST = 'redis.example.org'
>>> settings.REDIS_PORT = 1234
Copyright:
+===================================================+
| © 2019 Privex Inc. |
| https://www.privex.io |
+===================================================+
| |
| Originally Developed by Privex Inc. |
| License: X11 / MIT |
| |
| Core Developer(s): |
| |
| (+) Chris (@someguy123) [Privex] |
| (+) Kale (@kryogenic) [Privex] |
| |
+===================================================+
Copyright 2019 Privex Inc. ( https://www.privex.io )
Attributes
The root folder of this project (i.e. |
|
Folder where additional requirements files can be found for |
|
The file containing the package version (for |
|
Default cache timeout in seconds, used by cache adapters in the module |
|
Hostname / IP address where redis-server is running on |
|
Port number that Redis is running on at |
|
Redis database to use (number) |
|
Hostname / IP address where Memcached is running on |
|
Port number that Memcached is running on at |
|
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
bool(x) -> bool |
|
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
bool(x) -> bool |
|
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
bool(x) -> bool |
|
Built-in mutable sequence. |