2023-11-21 18:27:29 -06:00
|
|
|
.. _glossary:
|
|
|
|
|
|
|
|
Glossary
|
|
|
|
========
|
|
|
|
|
|
|
|
.. glossary::
|
|
|
|
:sorted:
|
|
|
|
|
2023-11-22 21:40:26 -06:00
|
|
|
ad hoc script
|
|
|
|
Python script (text) file used for ad-hoc automation etc. See
|
|
|
|
also :doc:`narr/cli/scripts`.
|
|
|
|
|
2023-11-21 18:27:29 -06:00
|
|
|
app
|
|
|
|
Depending on context, may refer to the software application
|
2023-11-22 21:40:26 -06:00
|
|
|
overall, or the :term:`app name`, or the :term:`app handler`.
|
2023-11-21 18:27:29 -06:00
|
|
|
|
|
|
|
app database
|
2023-11-24 19:14:48 -06:00
|
|
|
The main :term:`database` used by the :term:`app`. There is
|
|
|
|
normally just one database (for simple apps) which uses
|
|
|
|
PostgreSQL for the backend. The app database contains the
|
|
|
|
:term:`settings table`.
|
2023-11-21 18:27:29 -06:00
|
|
|
|
2023-11-22 00:01:46 -06:00
|
|
|
app dir
|
|
|
|
Folder containing app-specific config files, log files, etc.
|
|
|
|
Usually this is named ``app`` and is located at the root of the
|
|
|
|
virtual environment.
|
|
|
|
|
2024-08-24 10:20:05 -05:00
|
|
|
app enum
|
|
|
|
Python module whose namespace contains all the "enum" values
|
|
|
|
used by the :term:`app`. Available on the :term:`app handler`
|
|
|
|
as :attr:`~wuttjamaican.app.AppHandler.enum`.
|
|
|
|
|
2023-11-21 18:27:29 -06:00
|
|
|
app handler
|
2023-11-24 15:49:57 -06:00
|
|
|
Python object representing the core :term:`handler` for the
|
|
|
|
:term:`app`. There is normally just one "global" app handler;
|
|
|
|
see also :doc:`narr/handlers/app`.
|
2023-11-21 18:27:29 -06:00
|
|
|
|
2024-07-11 12:55:55 -05:00
|
|
|
app model
|
|
|
|
Python module whose namespace contains all the :term:`data
|
|
|
|
models<data model>` used by the :term:`app`.
|
|
|
|
|
2023-11-21 18:27:29 -06:00
|
|
|
app name
|
2023-11-22 21:40:26 -06:00
|
|
|
Code-friendly name for the underlying app/config system
|
|
|
|
(e.g. ``wutta_poser``).
|
|
|
|
|
|
|
|
This must usually be specified as part of the call to
|
|
|
|
:func:`~wuttjamaican.conf.make_config()` and is then available on
|
|
|
|
the :term:`config object`
|
|
|
|
:attr:`~wuttjamaican.conf.WuttaConfig.appname` and the :term:`app
|
|
|
|
handler` :attr:`~wuttjamaican.app.AppHandler.appname`.
|
2023-11-21 18:27:29 -06:00
|
|
|
|
|
|
|
See also the human-friendly :term:`app title`.
|
|
|
|
|
2023-11-24 22:24:20 -06:00
|
|
|
app provider
|
|
|
|
A :term:`provider` which pertains to the :term:`app handler`.
|
|
|
|
See :doc:`narr/providers/app`.
|
|
|
|
|
2023-11-21 18:27:29 -06:00
|
|
|
app title
|
2023-11-22 21:40:26 -06:00
|
|
|
Human-friendly name for the :term:`app` (e.g. "Wutta Poser").
|
2023-11-21 18:27:29 -06:00
|
|
|
|
|
|
|
See also the code-friendly :term:`app name`.
|
|
|
|
|
2024-07-13 23:25:20 -05:00
|
|
|
auth handler
|
|
|
|
A :term:`handler` responsible for user authentication and
|
|
|
|
authorization (login, permissions) and related things.
|
|
|
|
|
|
|
|
See also :class:`~wuttjamaican.auth.AuthHandler`.
|
|
|
|
|
2023-11-21 18:27:29 -06:00
|
|
|
command
|
|
|
|
A top-level command line interface for the app. Note that
|
2024-06-30 20:26:25 -05:00
|
|
|
top-level commands don't usually "do" anything per se, and are
|
2023-11-21 18:27:29 -06:00
|
|
|
mostly a way to group :term:`subcommands<subcommand>`. See also
|
2024-06-30 20:26:25 -05:00
|
|
|
:doc:`narr/cli/index`.
|
2023-11-21 18:27:29 -06:00
|
|
|
|
|
|
|
config
|
|
|
|
Depending on context, may refer to any of: :term:`config file`,
|
|
|
|
:term:`config object`, :term:`config setting`. See also
|
|
|
|
:doc:`narr/config/index`.
|
|
|
|
|
2024-07-11 12:55:55 -05:00
|
|
|
config extension
|
|
|
|
A registered extension for the :term:`config object`. What
|
|
|
|
happens is, a config object is created and then extended by each
|
|
|
|
of the registered config extensions.
|
|
|
|
|
2024-07-13 23:25:20 -05:00
|
|
|
The intention is that all config extensions will have been
|
|
|
|
applied before the :term:`app handler` is created.
|
|
|
|
|
2023-11-21 18:27:29 -06:00
|
|
|
config file
|
|
|
|
A file which contains :term:`config settings<config setting>`.
|
|
|
|
See also :doc:`narr/config/files`.
|
|
|
|
|
|
|
|
config object
|
|
|
|
Python object representing the full set of :term:`config
|
|
|
|
settings<config setting>` for the :term:`app`. Usually it gets
|
|
|
|
some of the settings from :term:`config files<config file>`, but
|
|
|
|
it may also get some from the :term:`settings table`. See also
|
|
|
|
:doc:`narr/config/object`.
|
|
|
|
|
|
|
|
config setting
|
|
|
|
The value of a setting as obtained from a :term:`config object`.
|
|
|
|
Depending on context, sometimes this refers specifically to
|
|
|
|
values obtained from the :term:`settings table` as opposed to
|
|
|
|
:term:`config file`. See also :doc:`narr/config/settings`.
|
|
|
|
|
2024-07-11 12:55:55 -05:00
|
|
|
data model
|
|
|
|
Usually, a Python class which maps to a :term:`database` table.
|
|
|
|
|
2023-11-24 19:14:48 -06:00
|
|
|
database
|
|
|
|
Generally refers to a relational database which may be queried
|
|
|
|
using SQL. More specifically, one supported by `SQLAlchemy`_.
|
|
|
|
|
|
|
|
.. _SQLAlchemy: https://www.sqlalchemy.org
|
|
|
|
|
|
|
|
Most :term:`apps<app>` will have at least one :term:`app
|
|
|
|
database`.
|
|
|
|
|
2024-07-14 23:20:44 -05:00
|
|
|
db session
|
|
|
|
The "session" is a SQLAlchemy abstraction for an open database
|
|
|
|
connection, essentially.
|
|
|
|
|
|
|
|
In practice this generally refers to a
|
|
|
|
:class:`~wuttjamaican.db.sess.Session` instance.
|
|
|
|
|
2023-11-22 21:40:26 -06:00
|
|
|
entry point
|
|
|
|
This refers to a "setuptools-style" entry point specifically,
|
|
|
|
which is a mechanism used to register "plugins" and the like.
|
|
|
|
This lets the app / config discover features dynamically. Most
|
|
|
|
notably used to register :term:`commands<command>` and
|
|
|
|
:term:`subcommands<subcommand>`.
|
|
|
|
|
|
|
|
For more info see the `Python Packaging User Guide`_.
|
|
|
|
|
|
|
|
.. _Python Packaging User Guide: https://packaging.python.org/en/latest/specifications/entry-points/
|
|
|
|
|
2023-11-24 15:49:57 -06:00
|
|
|
handler
|
|
|
|
Similar to a "plugin" concept but only *one* handler may be used
|
|
|
|
for a given purpose. See also :doc:`narr/handlers/index`.
|
|
|
|
|
|
|
|
package
|
|
|
|
Generally refers to a proper Python package, i.e. a collection of
|
2023-11-24 17:32:45 -06:00
|
|
|
modules etc. which is installed via ``pip``. See also
|
|
|
|
:doc:`narr/install/pkg`.
|
2023-11-24 15:49:57 -06:00
|
|
|
|
2023-11-24 22:24:20 -06:00
|
|
|
provider
|
|
|
|
Python object which "provides" extra functionality to some
|
|
|
|
portion of the :term:`app`. Similar to a "plugin" concept; see
|
|
|
|
:doc:`narr/providers/index`.
|
|
|
|
|
2023-11-21 18:27:29 -06:00
|
|
|
settings table
|
|
|
|
Table in the :term:`app database` which is used to store
|
2023-11-24 16:32:52 -06:00
|
|
|
:term:`config settings<config setting>`. See also
|
|
|
|
:doc:`narr/config/table`.
|
2023-11-21 18:27:29 -06:00
|
|
|
|
|
|
|
subcommand
|
|
|
|
A top-level :term:`command` may expose one or more subcommands,
|
2024-06-30 20:26:25 -05:00
|
|
|
for the overall command line interface. Subcommands are usually
|
|
|
|
the real workhorse; each can perform a different function. See
|
|
|
|
also :doc:`narr/cli/index`.
|
2023-11-24 17:32:45 -06:00
|
|
|
|
|
|
|
virtual environment
|
|
|
|
This term comes from the broader Python world and refers to an
|
|
|
|
isolated way to install :term:`packages<package>`. See also
|
|
|
|
:doc:`narr/install/venv`.
|