Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad FunctionDef arguments args defaults kwarg body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults kwarg body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad If CompareIn Str NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index Str orelse Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Dict Assign NameStore AttributeLoad Call NameLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad Call NameLoad NameLoad attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpOr CompareGt Call NameLoad NameLoad NameLoad CompareIn NameLoad NameLoad body Continue orelse If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad Raise NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Dict Assign NameStore Call NameLoad Expr Yield NameLoad Assign SubscriptStore NameLoad Index Str BinOpSub Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryFinally body TryExcept body Expr Yield NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Raise finalbody Expr Call AttributeLoad NameLoad attr decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list Assign NameStore Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body While AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Continue Assign AttributeStore NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv SubscriptLoad Call AttributeLoad NameLoad attr Index Num Call NameLoad BinOpPow Num Num Assign NameStore BinOpDiv SubscriptLoad Call AttributeLoad NameLoad attr Index Num Call NameLoad BinOpPow Num Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults SubscriptLoad AttributeLoad NameLoad attr Slice Num body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Print NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Dict Str NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults SubscriptLoad AttributeLoad NameLoad attr Slice Num body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad keyword Str Expr Call NameLoad keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults vararg kwarg body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListComp IfExp Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call Call NameLoad NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Return Call Call NameLoad NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad Str body Assign NameStore Dict Str Str NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr Str Dict Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list
N/A N/A Assorted utilties.
 collections UserDict contextlib contextmanager datetime datetime functools partial functools wraps N/A logging logging.config dictConfig importlib import_module inspect signature inspect getcallargs N/A os N/A sys threading Thread time sleep time time N/A dateutil.parser N/A dateutil.rrule docopt docopt N/A psutil N/A __version__ N/A logger N/A N/A logging getLogger palladium N/A PALLADIUM_CONFIG_ERROR 
  Maybe you forgot to set the environment variable PALLADIUM_CONFIG
  to point to your Palladium configuration file?  If so, please
  refer to the manual for more details.
 resolve_dotted_name N/A N/A dotted_name N/A N/A N/A N/A : dotted_name N/A N/A N/A module name N/A N/A dotted_name split : N/A N/A N/A module name N/A N/A dotted_name rsplit . 1 N/A attr N/A import_module module N/A name N/A N/A name split . N/A N/A attr N/A getattr attr name N/A attr N/A create_component N/A N/A specification N/A N/A N/A specification N/A N/A specification copy N/A factory_dotted_name N/A N/A specification pop __factory__ N/A factory N/A resolve_dotted_name factory_dotted_name N/A N/A factory specification N/A Config N/A dict N/A N/A A dictionary that represents the app's configuration.

    Tries to send a more user friendly message in case of KeyError.
     N/A initialized False __getitem__ N/A N/A self name N/A N/A N/A N/A N/A N/A N/A N/A super Config self __getitem__ name N/A N/A N/A KeyError N/A N/A N/A KeyError N/A N/A The required key '{}' was not found in your configuration. {} format name PALLADIUM_CONFIG_ERROR N/A N/A N/A _config N/A Config get_config N/A N/A N/A extra N/A N/A N/A N/A _config initialized N/A N/A N/A N/A _config update extra N/A N/A _config initialized True N/A fname N/A N/A N/A os environ get PALLADIUM_CONFIG N/A N/A fname None N/A N/A N/A N/A N/A sys path insert 0 N/A N/A N/A os path dirname fname N/A N/A open fname f N/A N/A N/A N/A _config update N/A eval N/A N/A f read N/A environ N/A os environ N/A N/A _initialize_config _config N/A _config N/A initialize_config N/A N/A N/A extra N/A N/A N/A _config initialized N/A N/A N/A RuntimeError Configuration was already initialized N/A N/A get_config extra N/A _initialize_config_recursive N/A N/A mapping N/A N/A N/A rv N/A N/A N/A key value N/A tuple N/A N/A mapping items N/A N/A N/A isinstance value dict N/A N/A N/A N/A rv extend N/A _initialize_config_recursive value N/A N/A __factory__ value N/A N/A N/A mapping N/A key N/A create_component value N/A N/A N/A rv append N/A mapping N/A key N/A N/A N/A isinstance value N/A list tuple N/A N/A N/A i item N/A enumerate value N/A N/A N/A isinstance item dict N/A N/A N/A N/A rv extend N/A _initialize_config_recursive item N/A N/A __factory__ item N/A N/A N/A value N/A i N/A create_component item N/A N/A N/A rv append N/A value N/A i N/A rv N/A _initialize_config N/A N/A config N/A N/A N/A components N/A N/A N/A logging config N/A N/A N/A dictConfig N/A config N/A logging N/A N/A N/A N/A logging basicConfig level N/A logging DEBUG N/A components N/A _initialize_config_recursive config N/A component components N/A N/A N/A hasattr component initialize_component N/A N/A N/A N/A component initialize_component config N/A config N/A apply_kwargs N/A N/A func N/A kwargs N/A N/A Call *func* with kwargs, but only those kwargs that it accepts.
     N/A new_kwargs N/A N/A params N/A N/A signature func parameters N/A param_name N/A N/A params keys N/A N/A N/A param_name kwargs N/A N/A N/A new_kwargs N/A param_name N/A kwargs N/A param_name N/A N/A func new_kwargs N/A args_from_config N/A N/A func N/A N/A N/A Decorator that injects parameters from the configuration.
     N/A func_args N/A N/A signature func parameters wrapper N/A N/A N/A args kwargs N/A N/A config N/A get_config N/A N/A i argname N/A enumerate func_args N/A N/A N/A N/A N/A len args i N/A argname kwargs N/A N/A N/A N/A N/A argname config N/A N/A N/A kwargs N/A argname N/A config N/A argname N/A N/A N/A N/A getcallargs func args kwargs N/A N/A N/A TypeError N/A exc N/A N/A msg N/A N/A {}
{} format N/A N/A exc args N/A 0 PALLADIUM_CONFIG_ERROR N/A N/A exc args N/A msg N/A exc N/A N/A func args kwargs N/A N/A wraps func N/A N/A wrapper __wrapped__ func N/A wrapper N/A timer N/A N/A log message N/A None None N/A N/A N/A log None N/A N/A N/A log N/A N/A {}... format message N/A info N/A N/A t0 N/A time N/A N/A info N/A N/A info N/A elapsed N/A N/A time t0 N/A N/A log None N/A N/A N/A log N/A N/A {} done in {:.3f} sec. format message N/A info N/A elapsed N/A contextmanager session_scope N/A N/A session N/A N/A N/A Provide a transactional scope around a series of operations. N/A N/A N/A N/A N/A N/A session N/A N/A N/A session commit N/A N/A N/A N/A N/A N/A session rollback N/A N/A N/A N/A N/A session close N/A contextmanager ProcessStore N/A UserDict N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self mtime N/A N/A N/A N/A N/A super ProcessStore self __init__ args kwargs N/A __setitem__ N/A N/A self key item N/A N/A N/A N/A N/A N/A super ProcessStore self __setitem__ key item N/A N/A N/A self mtime N/A key N/A N/A datetime now N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A N/A super ProcessStore self __getitem__ key N/A __delitem__ N/A N/A self key N/A N/A N/A N/A N/A N/A super ProcessStore self __delitem__ key N/A N/A N/A self mtime N/A key N/A N/A N/A process_store N/A ProcessStore RruleThread N/A Thread N/A N/A Calls a given function in intervals defined by given recurrence
    rules (from `datetuil.rrule`).
     __init__ N/A N/A self func rrule sleep_between_checks N/A 60 N/A N/A 
        :param callable func:
          The function that I will call periodically.

        :param rrule rrule:

          The :class:`dateutil.rrule.rrule` recurrence rule that
          defines when I will do the calls.  See the `python-dateutil
          docs <https://labix.org/python-dateutil>`_ for details on
          how to define rrules.

          For convenience, I will also accept a dict instead of a
          `rrule` instance, in which case I will instantiate an rrule
          using the dict contents as keyword parameters.

        :param int sleep_between_checks:
          Number of seconds to sleep before I check again if I should
          run the function *func*.
         N/A N/A N/A N/A super RruleThread self __init__ daemon True N/A N/A isinstance rrule dict N/A N/A rrule N/A N/A self _rrule_from_dict rrule N/A N/A self func func N/A N/A self rrule rrule N/A N/A self sleep_between_checks sleep_between_checks N/A N/A self last_execution N/A N/A datetime now N/A N/A self alive True N/A _rrule_from_dict N/A N/A cls rrule N/A N/A N/A kwargs N/A N/A rrule copy N/A N/A key value N/A N/A rrule items N/A N/A N/A N/A isinstance value str N/A hasattr N/A dateutil rrule value N/A N/A N/A kwargs N/A key N/A getattr N/A dateutil rrule value N/A dstart N/A N/A kwargs get dtstart N/A N/A isinstance dstart str N/A N/A N/A kwargs N/A dtstart N/A N/A N/A dateutil parser parse dstart N/A N/A N/A N/A dateutil rrule rrule kwargs N/A classmethod run N/A N/A self N/A N/A N/A N/A self alive N/A N/A now N/A N/A datetime now N/A N/A N/A N/A N/A self rrule between N/A self last_execution now N/A N/A N/A sleep N/A self sleep_between_checks N/A N/A N/A self last_execution now N/A N/A N/A N/A N/A self func N/A N/A N/A N/A N/A N/A logger exception N/A N/A Failed to call {} format N/A N/A self func __name__ N/A N/A memory_usage_psutil N/A N/A N/A N/A N/A Return the current process memory usage in MB.
     N/A process N/A N/A psutil Process N/A N/A os getpid N/A mem N/A N/A N/A N/A process memory_info N/A 0 N/A float N/A 2 20 N/A mem_vms N/A N/A N/A N/A process memory_info N/A 1 N/A float N/A 2 20 N/A N/A mem mem_vms N/A version_cmd N/A N/A argv N/A N/A N/A sys argv N/A 1 N/A N/A Print the version number of Palladium.

Usage:
  pld-version [options]

Options:
  -h --help                Show this screen.
 N/A N/A docopt N/A version_cmd __doc__ argv argv N/A __version__ N/A upgrade N/A N/A model_persister from_version to_version N/A None None N/A N/A kwargs N/A from_version from_version N/A N/A to_version None N/A N/A N/A kwargs N/A to_version to_version N/A N/A N/A model_persister upgrade kwargs N/A args_from_config upgrade_cmd N/A N/A argv N/A N/A N/A sys argv N/A 1 N/A N/A Upgrade the database to the latest version.

Usage:
  pld-ugprade [options]

Options:
  --from=<v>               Upgrade from a specific version, overriding
                           the version stored in the database.

  --to=<v>                 Upgrade to a specific version instead of the
                           latest version.

  -h --help                Show this screen.
 N/A arguments N/A docopt N/A upgrade_cmd __doc__ argv argv N/A N/A initialize_config __mode__ fit N/A N/A upgrade from_version N/A arguments N/A --from to_version N/A arguments N/A --to N/A PluggableDecorator N/A N/A __init__ N/A N/A self decorator_config_name N/A N/A N/A N/A self decorator_config_name decorator_config_name N/A N/A self wrapped None N/A __call__ N/A N/A self func N/A N/A N/A N/A self func func wrapper N/A N/A N/A args kwargs N/A N/A N/A N/A self wrapped None N/A N/A func N/A self func N/A decorators N/A N/A N/A get_config get N/A self decorator_config_name N/A N/A N/A self decorators N/A N/A N/A isinstance dec str N/A resolve_dotted_name dec dec N/A dec decorators N/A orig_func func N/A decorator N/A self decorators N/A N/A func N/A decorator func N/A N/A self decorators N/A N/A N/A self wrapped N/A N/A wraps orig_func func N/A N/A N/A self wrapped orig_func N/A N/A N/A self wrapped args kwargs N/A N/A N/A N/A wraps func wrapper N/A N/A get_metadata N/A N/A error_code error_message status N/A 0 None OK N/A N/A metadata N/A status error_code status error_code N/A N/A error_message None N/A N/A N/A metadata N/A error_message error_message N/A N/A N/A metadata update N/A N/A N/A get_config get service_metadata N/A N/A metadata N/A Partial N/A N/A func N/A kwargs N/A N/A Allows the use of partially applied functions in the
    configuration.
     N/A N/A isinstance func str N/A N/A func N/A resolve_dotted_name func N/A N/A partial func kwargs N/A