Toggle navigation sidebar
configpile
General information
Home page
Tutorial
Index
Step 1: Simple calculator
Step 2: Reuse defaults, short flags
Step 3: Two positional arguments
Step 4: Many positional arguments
Step 5: Additional features
Step 6: Final calculator script
Concepts
Overview of the process
Error handling in
configpile
Parsers
Params (parameters)
Parameter and configuration validation
Configurations
API
API
arg
Arg
Expander
Param
collector
Collector
config
Config
IniSection
enums
Derived
ForceCase
Positional
SpecialAction
handlers
CLConfigParam
CLHandler
CLInserter
CLParam
CLPos
CLRootParam
CLSpecialAction
CLStdHandler
KVConfigParam
KVHandler
KVParam
KVRootParam
parsers
path_parser
int_parser
str_parser
stripped_str_parser
float_parser
ErrorMessageProvider
Parser
Predicate
processor
IniProcessor
Processor
ProcessorFactory
State
userr
collect
collect_seq
flat_map
in_context
map
wrap
Err
Err1
ManyErr
util
assert_never
dict_from_multiple_keys
filter_ordered_dict
filter_ordered_dict_by_value_type
filter_sequence_by_value_type
filter_types
filter_types_single
ClassDoc
Toggle navigation
int_parser
int_parser
¶
int_parser
:
configpile.parsers.Parser
[
int
]
=
_FromFunctionThatRaises(fun=<class
'int'>,
catch=())
¶
Parses an integer
previous
path_parser
next
str_parser