Classes | Namespaces | Functions | Variables
SerialSubstitution.py File Reference

Go to the source code of this file.

Classes

class  SerialSubstitution.ContextClass
 
class  SerialSubstitution.LineNoContextClass
 
class  SerialSubstitution.SubstitutionClass
 
class  SerialSubstitution.RegExSubstitutionClass
 
class  SerialSubstitution.RegExDeleteLineClass
 
class  SerialSubstitution.ReplacementClass
 
class  SerialSubstitution.WarningClass
 
class  SerialSubstitution.ProcessorClass
 
class  SerialSubstitution.ProcessorsList
 

Namespaces

 SerialSubstitution
 

Functions

def SerialSubstitution.ANSIcode (content)
 
def SerialSubstitution.Colorize (msg, category, options)
 Library code. More...
 
def SerialSubstitution.AddProcessor (processor)
 
def SerialSubstitution.LoggingSetup (LoggingLevel=logging.INFO)
 
def SerialSubstitution.RunSubstitutor ()
 

Variables

string SerialSubstitution.__doc__ = "Performs hard-coded substitutions on all files in a directory."
 
string SerialSubstitution.__version__ = '2.0'
 
 SerialSubstitution.ANSIReset = ANSIcode("0")
 
 SerialSubstitution.ANSIRed = ANSIcode("31")
 
 SerialSubstitution.ANSIGreen = ANSIcode("32")
 
 SerialSubstitution.ANSIBlue = ANSIcode("34")
 
 SerialSubstitution.ANSIBrightBlue = ANSIcode("1;34")
 
 SerialSubstitution.ANSIMagenta = ANSIcode("35")
 
 SerialSubstitution.ANSIYellow = ANSIcode("1;33")
 
 SerialSubstitution.ANSIWhite = ANSIcode("1;37")
 
 SerialSubstitution.subst = AddProcessor(ProcessorClass("subst"))
 Test. More...