The uriel program defines the following constants.
This is Python, so they aren't really constants. But they are treated like constants by convention.
See the Soju and Handlers sections for information on how to reference these constants.
# the name of the program
PROGRAM_NAME = "uriel"
# program version
VERSION = "1.4.1"
# exit codes
EXIT_OK = 0
EXIT_FAIL = 1
# sub-directories under the project root directory
STATIC_ROOT = "static"
NODES_ROOT = "nodes"
TEMPLATES_ROOT = "templates"
LIB_ROOT = "lib"
PUBLIC_ROOT = "public"
# node index filename
NODE_INDEX = "index"
# html index filename
HTML_INDEX = "index.html"
# default template to use when rendering nodes
# (can be overridden via Template header)
DEFAULT_TEMPLATE = "default.html"
# default maximum number of RSS feed entries
# (can be overridden via RSS-Max-Entries header)
RSS_MAX_ENTRIES = 20
# default maximum number of sitemap entries
# (can be overridden via Sitemap-Max-Entries header)
SITEMAP_MAX_ENTRIES = 50000
# HTML escape character map
HTML_ESCAPE_MAP = {
"&": "&",
'"': """,
"'": "'",
">": ">",
"<": "<"
}
Tags:
This page was generated by Uriel with the following settings:
Page Details
| Resource | Path | Project File |
|---|---|---|
| Node | uriel/constants | nodes/uriel/constants |
| Template | default.html | templates/default.html |
| URL | /uriel/constants/ | public/uriel/constants/index.html |
Node Headers
| Header (Lowercase) | Value |
|---|---|
| title | Constants |
| breadcrumb-separator | » |
| canonical-url | https://documentation.uriel.foo |
| rss-description | Uriel Documentation |
| rss-image-height | 32 |
| rss-image-url | /favicon-32x32.png |
| rss-image-width | 32 |
| rss-max-entries | 50 |
| rss-title | Uriel Documentation |
| rss-url | /rss.xml |
| sitemap-max-entries | 10000 |
| sitemap-url | /sitemap.xml |
| tag-node | tag |
| template | default.html |
Node Timestamps
| Type | Value |
|---|---|
| Created | |
| Modified | 2026-06-11T17:54:24-04:00 |
Node Methods
| Method | Value |
|---|---|
| get_parent_node() | uriel/index |
| get_path() | uriel/constants |
| get_node_type() | file |
| get_url() | /uriel/constants/ |
| get_canonical_url() | https://documentation.uriel.foo/uriel/constants/ |
| get_name() | constants |
| get_display_name() | Constants |
| get_title() | Constants |
| get_escaped_title() | Constants |
| get_link() | <a href="/uriel/constants/">Constants</a> |
| get_canonical_link() | <a href="https://documentation.uriel.foo/uriel/constants/">Constants</a> |
| get_link_prefix() | <p> |
| get_link_suffix() | </p> |
| get_tags() | [] |
| get_dest_dir() | ./public/uriel/constants |
| get_dest_file() | ./public/uriel/constants/index.html |
| get_breadcrumb_separator() | » |