Package liquer
Main liquer module. Importing this module is sufficient to use liquer. It exposes command registration decorators (command and first_command), query evaluation functions (evaluate, evaluate_and_save) and context access (get_context).
Expand source code
"""Main liquer module. Importing this module is sufficient to use liquer.
It exposes command registration decorators (*command* and *first_command*),
query evaluation functions (*evaluate*, *evaluate_and_save*) and context access (*get_context*).
"""
from liquer.commands import command, first_command
from liquer.query import evaluate, evaluate_and_save, evaluate_template
from liquer.context import get_context
__version__ = "0.9.4"
Sub-modules
liquer.app
-
Command line interface for liquer.
liquer.blueprint
-
Deprecated blueprint module. Use liquer.server.blueprint instead
liquer.cache
-
Cache defines a mechanism for caching state for a query (or a subquery) …
liquer.commands
-
This module is responsible for registering commands …
liquer.config
-
Handle global configuration. Configuration is stored in a dictionary, which is accessible as liquer.config.config(). The dictionary is initialized …
liquer.constants
-
Definition of useful constants and enums
liquer.context
-
Context is a class that holds the data and services associated with the query evaluation …
liquer.dependencies
-
Dependency management for Liquer - currently in progress
liquer.ext
-
Build-in extensions for Liquer.
liquer.indexer
-
Indexer is a callable or an Indexer object that can 'visit' data and metadata (mainly) in the event of creation. Indexers can be used for multiple …
liquer.metadata
-
Metadata class and related functionality …
liquer.parser
-
This module provides functions to decode and encode query …
liquer.pool
-
Module liquer.pool provides functions for running Liquer in a multiprocessing pool.
liquer.query
-
Query module - functions for query evaluation
liquer.recipes
-
Recipes are a way to define how a resource is created from other resources …
liquer.remote_store
-
Defines a RemoteStore, a store implementation that can connect to a remote liquer server via liquer server store API.
liquer.s3_store
-
Defines S3Store class with the Liquer store interface. S3Store is a store using Amazon S3 buckets.
liquer.server
-
Server implementations and utilities for various backends
liquer.state
-
State object - encapsulates the combination of data and metadata …
liquer.state_types
-
State types represent the additional properties of data types that can be used as a state: - state type must be representable as a (short) string …
liquer.store
-
Store is a flexible filesystem-like key-value store. Stores support reading and writing of binary data and the associated metadata. Data from the …
liquer.template
-
Rich template engine for Liquer queries - in progress.
liquer.tools
-
Convenience functions for Liquer
liquer.util
-
General utilities for Liquer, e.g. datetime formatting
liquer.web
-
Web related functions for LiQuer …