Table of Contents

Module: __init__ ./src/peak/api/__init__.py

The Complete PEAK API (Core + Frameworks)

This module is similar to peak.core, but also offers convenient lazy imports for all of PEAK's framework API's:

commands
Gives you access to peak.running.commands, a framework for command-line application components
logs
Gives you access to peak.running.logs, a logging framework that works with (or without) the PEP 282 logging package.
running
Gives you access to the peak.running.api, which provides frameworks for command line applications, lock files, event-driven applications, CGI, FastCGI, Unix child process management, and autonomous agents (periodic tasks).
security
Gives you access to the peak.security.api, which provides an extremely flexible rule-based access control system using abstract and concrete permissions, that can use context-dependent business rules to grant or deny permissions to principals.
storage
Gives you access to the peak.storage.api, which offers frameworks for transactions, persistence, and database access.
web
Gives you access to the peak.web.api, a framework for building adaptation-driven web applications atop the CGI/FastCGI framework provided by peak.running.

Imported modules   
from peak.core import *, __all__
from peak.util.imports import lazyModule
Functions   
iif
  iif 
iif (
        cond,
        Then,
        Else,
        )

iif(cond,then,else)
return then if cond is true, else else

Table of Contents

This document was automatically generated on Mon Mar 25 01:11:06 2024 by HappyDoc version 2.1