File: glossary.rst

package info (click to toggle)
python-plaster 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: python: 720; makefile: 161
file content (16 lines) | stat: -rw-r--r-- 891 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.. _glossary:

Glossary
========

.. glossary::
    :sorted:

    config uri
        In most cases this is simply an absolute or relative path to a config file on the system. However, it can also be a :rfc:`1738`-style string pointing at a remote service or a specific parser without relying on the file extension. For example, ``my-ini://foo.ini`` may point to a loader named ``my-ini`` that can parse the relative ``foo.ini`` file.

    loader
        An object conforming to the :class:`plaster.ILoader` interface. A loader is responsible for locating and parsing the underlying configuration format for the given :term:`config uri`.

    loader protocol
        A :term:`loader` may implement zero or more custom named protocols. An example would be the ``wsgi`` protocol which requires that a loader implement certain methods like ``wsgi_app = get_wsgi_app(name=None, defaults=None)``.