noc.lib.clipsenv

Module Contents

noc.lib.clipsenv.logger
class noc.lib.clipsenv.CLIPSEnv

Bases: object

CLIPSEnv context manager. Using: with CLIPSEnv() as env:

free_envs
used_envs
env_seq
semaphore
lock
__enter__(self)
__exit__(self, exc_type, exc_val, exc_tb)
classmethod prepare(cls)

Prepare CLIPS

noc.lib.clipsenv._clips_bool(r)
Returns Clips TRUE or FALSE depending of value of r
noc.lib.clipsenv.clips_match_re(rx, s)
Check string matches regular expression
Usage:
(match-re "^s+test" ?f)
noc.lib.clipsenv.CLIPS_TRUE
noc.lib.clipsenv.CLIPS_FALSE