Index of the configparser module
-
m
initools.configparser
...
- This implements the public ConfigParser interface, but with some
additional enhancements.
-
a
MAX_INTERPOLATION_DEPTH
...
-
C
ConfigParser
...
-
a
case_sensitive
...
-
a
continuation_indent
...
-
a
default_extend_name
...
-
a
default_extend_section_name
...
-
a
encoding
...
-
a
global_extend_section_names
...
-
a
inherit_defaults
...
-
f
__init__
...
-
f
add_section
...
- Add a section named section to the instance.
-
f
allitems
...
-
f
asdict
...
-
f
defaults
...
- Return a dictionary containing the instance-wide defaults.
-
f
get
...
- Get an option value for the named section.
-
f
getboolean
...
- A convenience method which coerces the option in the
specified section to a Boolean value.
-
f
getfilename
...
- Returns the value of the option, interpreted as a filename
relative to the location of where the option was defined.
-
f
getfloat
...
- A convenience method which coerces the option in the
specified section to a floating point number.
-
f
getint
...
- A convenience method which coerces the option in the
specified section to an integer.
-
f
has_option
...
- If the given section exists, and contains the given option,
return True; otherwise return False.
-
f
has_section
...
- Indicates whether the named section is present in the
configuration.
-
f
items
...
- Return a list of (name, value) pairs for each option in the
given section.
-
f
options
...
- Returns a list of options available in the specified
section.
-
f
optionxform
...
- Transforms the option name option as found in an input file
or as passed in by client code to the form that should be used
in the internal structures.
-
f
read
...
- Attempt to read and parse a list of filenames, returning a
list of filenames which were successfully parsed.
-
f
readfp
...
- Read and parse configuration data from the file or
file-like object in fp
-
f
remove_option
...
- Remove the specified option from the specified section.
-
f
remove_section
...
- Remove the specified section from the configuration.
-
f
sectiondict
...
-
f
sections
...
- Return a list of the sections available; DEFAULT is not
included in the list.
-
f
sectionxform
...
- Transforms the section name option as found in an input file
or as passed in by client code to the form that should be used
in the internal structures.
-
f
set
...
- If the given section exists, set the given option to the
specified value; otherwise raise NoSectionError.
-
f
write
...
- Write a representation of the configuration to the
specified file object.
-
C
DuplicateSectionError
...
- Exception raised if add_section() is called with the name of a
section that is already present.
-
C
Error
...
-
C
InterpolationDepthError
...
- Exception raised when string interpolation cannot be completed
because the number of iterations exceeds
MAX_INTERPOLATION_DEPTH. Subclass of InterpolationError.
-
C
InterpolationError
...
- Base class for exceptions raised when problems occur performing
string interpolation.
-
C
InterpolationMissingOptionError
...
- Exception raised when an option referenced from a value does
not exist. Subclass of InterpolationError.
-
C
InterpolationSyntaxError
...
- Exception raised when the source text into which substitutions
are made does not conform to the required syntax. Subclass of
InterpolationError.
-
C
MissingSectionHeaderError
...
- Exception raised when attempting to parse a file which has no
section headers.
-
C
NoOptionError
...
- Exception raised when a specified option is not found in the
specified section.
-
C
NoSectionError
...
- Exception raised when a specified section is not found.
-
C
RawConfigParser
...
-
f
__init__
...
-
f
add_section
...
- Add a section named section to the instance.
-
f
allitems
...
-
f
asdict
...
-
f
defaults
...
- Return a dictionary containing the instance-wide defaults.
-
f
get
...
- Get an option value for the named section.
-
f
getboolean
...
- A convenience method which coerces the option in the
specified section to a Boolean value.
-
f
getfilename
...
- Returns the value of the option, interpreted as a filename
relative to the location of where the option was defined.
-
f
getfloat
...
- A convenience method which coerces the option in the
specified section to a floating point number.
-
f
getint
...
- A convenience method which coerces the option in the
specified section to an integer.
-
f
has_option
...
- If the given section exists, and contains the given option,
return True; otherwise return False.
-
f
has_section
...
- Indicates whether the named section is present in the
configuration.
-
f
items
...
- Return a list of (name, value) pairs for each option in the
given section.
-
f
options
...
- Returns a list of options available in the specified
section.
-
f
optionxform
...
- Transforms the option name option as found in an input file
or as passed in by client code to the form that should be used
in the internal structures.
-
f
read
...
- Attempt to read and parse a list of filenames, returning a
list of filenames which were successfully parsed.
-
f
readfp
...
- Read and parse configuration data from the file or
file-like object in fp
-
f
remove_option
...
- Remove the specified option from the specified section.
-
f
remove_section
...
- Remove the specified section from the configuration.
-
f
sectiondict
...
-
f
sections
...
- Return a list of the sections available; DEFAULT is not
included in the list.
-
f
sectionxform
...
- Transforms the section name option as found in an input file
or as passed in by client code to the form that should be used
in the internal structures.
-
f
set
...
- If the given section exists, set the given option to the
specified value; otherwise raise NoSectionError.
-
f
write
...
- Write a representation of the configuration to the
specified file object.
-
C
SafeConfigParser
...
-
f
add_section
...
- Add a section named section to the instance.
-
f
allitems
...
-
f
asdict
...
-
f
defaults
...
- Return a dictionary containing the instance-wide defaults.
-
f
getfloat
...
- A convenience method which coerces the option in the
specified section to a floating point number.
-
f
has_option
...
- If the given section exists, and contains the given option,
return True; otherwise return False.
-
f
items
...
- Return a list of (name, value) pairs for each option in the
given section.
-
f
options
...
- Returns a list of options available in the specified
section.
-
f
optionxform
...
- Transforms the option name option as found in an input file
or as passed in by client code to the form that should be used
in the internal structures.
-
f
readfp
...
- Read and parse configuration data from the file or
file-like object in fp
-
f
remove_option
...
- Remove the specified option from the specified section.
-
f
remove_section
...
- Remove the specified section from the configuration.
-
f
sectiondict
...
-
f
sectionxform
...
- Transforms the section name option as found in an input file
or as passed in by client code to the form that should be used
in the internal structures.