This file is indexed.

/usr/lib/python2.7/dist-packages/django_etcd_settings-0.1.11.egg-info/PKG-INFO is in python-django-etcd-settings 0.1.13+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
Metadata-Version: 1.1
Name: django-etcd-settings
Version: 0.1.11
Summary: A dynamic settings management solution for Django using ETCD
Home-page: https://github.com/kpn-digital/django-etcd-settings
Author: Enrique Paz
Author-email: enrique.pazperez@kpn.com
License: UNKNOWN
Description: Django ETCD Settings
        =====================
        
        .. image:: https://secure.travis-ci.org/kpn-digital/django-etcd-settings.svg?branch=master
            :target:  http://travis-ci.org/kpn-digital/django-etcd-settings?branch=master
        
        .. image:: https://img.shields.io/codecov/c/github/kpn-digital/django-etcd-settings/master.svg
            :target: http://codecov.io/github/kpn-digital/django-etcd-settings?branch=master
        
        .. image:: https://img.shields.io/pypi/v/django-etcd-settings.svg
            :target: https://pypi.python.org/pypi/django-etcd-settings
        
        .. image:: https://readthedocs.org/projects/django-etcd-settings/badge/?version=latest
            :target: http://django-etcd-settings.readthedocs.org/en/latest/?badge=latest
        
        
        Features
        --------
        
        This application allows you to extend the Django settings as configured in the
        ``settings.py`` file with:
        
        * Environment dependent values
        * Values in different config sets, identified by name, which can be selected on
          a 'per request' basis using the ``X-DYNAMIC-SETTINGS`` HTTP header
        
        Both the added configuration values and config sets would live at ETCD, which
        will be continuously monitored by this library in order to transparently update
        your app settings upon changes.
        
        
        Backends
        --------
        
        - ETCD 2.2.1
        
        
        Installation
        ------------
        
        .. code-block:: bash
        
            $ pip install django-etcd-settings
        
        
        Usage
        -----
        
        This Django application uses the following configuration keys:
        
        * ``DJES_ETCD_DETAILS``: a dict with 'host', 'port', 'protocol', 'prefix',
            'long_polling_timeout' and 'long_polling_safety_delay' (both in seconds).
            'prefix' is a string to be used as base path for all configuration
            managed by this app.
            i.e. '/config/api' will result in '/config/api/<ENV>' and
            '/config/api/extensions/' to be used for environment defaults and
            config_sets respectively
            Timeouts default to 50 and 5 seconds respectively.
            If ``DJES_ETCD_SETTINGS`` is None, this app will start with no errors and
            etcd_settings.settings will resolve to django.conf.settings plus your
            DJES_DEV_PARAMS overwrites
            i.e.
        
            .. code-block:: python
        
                ETCD_DETAILS = dict(
                    host='localhost', port=4000, protocol='http',
                    long_polling_timout=50, long_polling_safety_delay=5
                )
        
        * ``DJES_DEV_PARAMS``: A module with local overwrites, generally used for
            development. The overwrites must be capitalized module attributes.
            These overwrites will have preference over development settings on ETCD,
            but not over configset overwrites indicated by the ``X-DYNAMIC-SETTINGS``
            HTTP header
        
        * ``DJES_ENV``: A string with the name of the environment in which the code is
            running. This will be used for accessing the env_defaults in
            ETCD in a directory with that name
            i.e. 'test', 'staging', 'prod'...
        
        * ``DJES_REQUEST_GETTER``: path to a function which accesses the HTTP request
            object being handled. Ensuring access to this value can be implemented
            with, for instance, middleware. This settings is only used to allow
            config overwrites on runtime based on predifined config_sets. In case you
            don't want to use this functionality, just set this setting to None
            i.e. 'middleware.thread_local.get_current_request'
        
        * ``DJES_WSGI_FILE``: path to the ``wsgi.py`` file for the django
            project. If not None, the monitoring of environment configuration will
            perform a ``touch`` of the file everytime the env_defaults are updated, so
            that all processes consuming settings from ``django.conf`` can consume the
            latest settings available as well
            The path can be absolute or relative to the 'manage.py' file.
            i.e. /project/src/wsgi.py, wsgi.py
        
        Then, add ``etcd_settings`` to the list of ``INSTALLED_APPS`` before any other that
        requires dynamic settings.
        
        From your code, just do ``from etcd_settings import settings`` instead of ``from
        django.conf import settings``.
        
        In case you want to use ``etcd_settings`` to modify some values in your standard
        Django settings.py file (i.e. Database config), you can use the following
        snippet in your settings file, as high as possible in the file and immediately
        under the ``DJES_*`` settings definition:
        
            .. code-block:: python
        
                import etcd_settings.loader
                extra_settings = etcd_settings.loader.get_overwrites(
                    DJES_ENV, DJES_DEV_PARAMS, DJES_ETCD_DETAILS)
                locals().update(extra_settings)
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP