Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyparsing/pyparsing
/ functions
Functions
1,655 in github.com/pyparsing/pyparsing
⨍
Functions
1,655
◇
Types & classes
303
↳
Endpoints
5
↓ 1 callers
Function
condition_as_parse_action
Function to convert a simple predicate function that returns ``True`` or ``False`` into a parse action. Can be used in places when a parse ac
pyparsing/core.py:328
↓ 1 callers
Function
count
Simple function to count the number of elements returned by a generator.
dest/inv_regex.py:268
↓ 1 callers
Function
count
Simple function to count the number of elements returned by a generator.
examples/inv_regex.py:268
↓ 1 callers
Function
count
Simple function to count the number of elements returned by a generator.
examples/regex_inverter/inv_regex.py:268
↓ 1 callers
Function
createRooms
create rooms, using multiline string showing map layout string contains symbols for the following: A-Z, a-z indicate rooms, and rooms
examples/adventureEngine.py:579
↓ 1 callers
Function
csv_grammar
()
tests/perf_pyparsing.py:116
↓ 1 callers
Function
current_method_name
(level=2)
tests/test_unit.py:104
↓ 1 callers
Function
define_numeric_word
(nm: str, val: int)
examples/number_words.py:43
↓ 1 callers
Function
define_numeric_word
(nm: str, val: int)
examples/one_to_ninety_nine.py:33
↓ 1 callers
Function
demo
Demonstrate using the time_expression parser, and accessing the parsed results. - parse a complex time expression - show all fields
examples/delta_time.py:365
↓ 1 callers
Function
demo
()
examples/unicode_denormalizer.py:128
↓ 1 callers
Method
dispense
(self)
examples/statemachine/vending_machine.py:67
↓ 1 callers
Method
drop
(self, it)
examples/adventureEngine.py:573
↓ 1 callers
Function
enable_all_warnings
Enable all global pyparsing diagnostic warnings (see :class:`Diagnostics`).
pyparsing/core.py:176
↓ 1 callers
Method
enter
(self, player)
examples/adventureEngine.py:62
↓ 1 callers
Function
enumerate_doors
(doors_list)
examples/adventureEngine.py:33
↓ 1 callers
Function
find_all_re_matches
(patt, s)
tests/test_unit.py:89
↓ 1 callers
Method
formatted_message
Output the formatted exception message. Can be overridden to customize the message formatting or contents. .. versionadded::
pyparsing/exceptions.py:207
↓ 1 callers
Function
gen_csv
(rows: int, cols: int, seed: int = 1)
tests/perf_pyparsing.py:48
↓ 1 callers
Function
gen_expr_sequence
(n_terms: int, seed: int = 2)
tests/perf_pyparsing.py:66
↓ 1 callers
Method
generate_index
Generate a number used to index a diagram
pyparsing/diagram/__init__.py:399
↓ 1 callers
Function
generate_word_lists
(num_lists: int, num_words: int, word_length: int)
tests/test_util.py:223
↓ 1 callers
Function
getLogLineBNF
()
examples/httpServerLogParser.py:47
↓ 1 callers
Function
get_filename_list
(tf)
examples/dfmparse.py:180
↓ 1 callers
Method
get_function_signatures
(self)
examples/tiny/tiny_engine.py:111
↓ 1 callers
Method
get_functions
(self)
examples/tiny/tiny_engine.py:108
↓ 1 callers
Function
get_suffixes_from_common_prefixes
(namelist: list[str])
pyparsing/util.py:370
↓ 1 callers
Method
get_table_names
(self, sql_stmt)
examples/bigquery_view_parser.py:34
↓ 1 callers
Method
get_temp
Returns an appropriate temporary file for writing a railroad diagram
tests/test_diagram.py:60
↓ 1 callers
Method
get_var
(self, name: str)
examples/tiny/tiny_engine.py:221
↓ 1 callers
Function
grammar
()
examples/antlr_grammar.py:260
↓ 1 callers
Function
handle_meta_command
(engine: TinyEngine, cmd: str, debug_ref: byref[bool])
examples/tiny/tiny_repl.py:118
↓ 1 callers
Method
help_description
()
examples/adventureEngine.py:168
↓ 1 callers
Function
inifile_BNF
()
examples/configParse.py:27
↓ 1 callers
Function
initialize_engine
(engine: TinyEngine, program: pp.ParseResults)
examples/tiny/tiny_run.py:90
↓ 1 callers
Method
input_value
(self)
examples/bf.py:67
↓ 1 callers
Method
isUsable
(self, player, target)
examples/adventureEngine.py:118
↓ 1 callers
Function
is_run_with_coverage
Check whether test is run with coverage. From https://stackoverflow.com/a/69812849/165216
tests/test_diagram.py:24
↓ 1 callers
Function
location
(name)
examples/position.py:47
↓ 1 callers
Method
lowercase_set_of_tuples
(cls, set_of_tuples)
examples/bigquery_view_parser.py:62
↓ 1 callers
Function
main
()
dest/inv_regex.py:284
↓ 1 callers
Function
main
()
tests/perf_pyparsing.py:253
↓ 1 callers
Function
main
()
examples/email_address_parser.py:22
↓ 1 callers
Function
main
()
examples/roman_numerals.py:85
↓ 1 callers
Function
main
()
examples/oc.py:155
↓ 1 callers
Function
main
()
examples/parse_python_value.py:75
↓ 1 callers
Function
main
()
examples/select_parser.py:198
↓ 1 callers
Function
main
()
examples/lox_parser.py:112
↓ 1 callers
Function
main
()
examples/TAP.py:175
↓ 1 callers
Function
main
()
examples/excel_expr.py:77
↓ 1 callers
Function
main
()
examples/mongodb_query_expression.py:564
↓ 1 callers
Function
main
()
examples/mongodb_query_expression_step_0.py:153
↓ 1 callers
Function
main
()
examples/verilog_parse.py:889
↓ 1 callers
Function
main
()
examples/booleansearchparser.py:444
↓ 1 callers
Function
main
()
examples/delta_time.py:583
↓ 1 callers
Function
main
testfiles can be None, in which case the command line arguments are used as filenames. testfiles can be a string, in which case that file is pars
examples/dfmparse.py:196
↓ 1 callers
Function
main
()
examples/sexpParser.py:100
↓ 1 callers
Function
main
()
examples/inv_regex.py:284
↓ 1 callers
Function
main
()
examples/rosettacode.py:278
↓ 1 callers
Function
main
()
examples/lucene_grammar.py:72
↓ 1 callers
Function
main
(argv: list[str] | None = None)
examples/tiny/tiny_run.py:49
↓ 1 callers
Function
main
(argv: list[str] | None = None)
examples/tiny/tiny_repl.py:325
↓ 1 callers
Function
main
()
examples/regex_inverter/inv_regex.py:284
↓ 1 callers
Method
make_bnf
(self)
examples/adventureEngine.py:444
↓ 1 callers
Function
make_roman_numeral
(n)
examples/roman_numerals.py:61
↓ 1 callers
Function
make_term
(depth: int)
tests/perf_pyparsing.py:74
↓ 1 callers
Function
make_weekday_time_references
()
examples/delta_time.py:391
↓ 1 callers
Function
match_previous_literal
Helper to define an expression that is indirectly defined from the tokens matched in a previous expression, that is, it looks for a 'repeat' o
pyparsing/helpers.py:101
↓ 1 callers
Function
maybe_paren
(term: str, prob: float = 0.25)
tests/perf_pyparsing.py:70
↓ 1 callers
Function
molecular_weight
Compute overall molecular weight of a chemical formula, whose elements have been parsed into a Counter containing chemical symbols and co
examples/complex_chemical_formulas.py:116
↓ 1 callers
Method
open_item
(self, player)
examples/adventureEngine.py:144
↓ 1 callers
Method
output_value_at_ptr
(self)
examples/bf.py:64
↓ 1 callers
Function
parsePGN
(pgn, bnf=pgnGrammar, fn=None)
examples/pgn.py:76
↓ 1 callers
Method
parse_cmd
(self, cmdstr)
examples/adventureEngine.py:530
↓ 1 callers
Function
parse_str
(str)
examples/btpyparse.py:116
↓ 1 callers
Method
parse_with_tabs
Overrides default behavior to expand ``<TAB>`` s to spaces before parsing the input string. Must be called before ``parse_string`` wh
pyparsing/core.py:1976
↓ 1 callers
Function
parser
()
dest/inv_regex.py:207
↓ 1 callers
Function
parser
()
examples/inv_regex.py:207
↓ 1 callers
Function
parser
()
examples/regex_inverter/inv_regex.py:207
↓ 1 callers
Method
parser
This function returns a parser. The grammar should be like most full text search engines (Google, Tsearch, Lucene). Gram
examples/searchparser.py:86
↓ 1 callers
Method
parser
This function returns a parser. The grammar should be like most full text search engines (Google, Tsearch, Lucene). Grammar:
examples/booleansearchparser.py:141
↓ 1 callers
Function
playGame
(p, startRoom)
examples/adventureEngine.py:644
↓ 1 callers
Method
postParse
(self, instring, loc, tokenlist)
pyparsing/core.py:912
↓ 1 callers
Method
press_alpha_button
(self)
examples/statemachine/vending_machine.py:50
↓ 1 callers
Method
press_button
(self, button)
examples/statemachine/vending_machine.py:40
↓ 1 callers
Method
press_digit_button
(self)
examples/statemachine/vending_machine.py:58
↓ 1 callers
Method
process_filedata
(self, module, data)
examples/statemachine/statemachine.py:340
↓ 1 callers
Method
remove_item
(self, it)
examples/adventureEngine.py:69
↓ 1 callers
Function
repl
()
examples/tiny/tiny_repl.py:210
↓ 1 callers
Method
reset
Allow the associated parse action to be called once more.
pyparsing/actions.py:38
↓ 1 callers
Function
reset_stack
()
pyparsing/helpers.py:1089
↓ 1 callers
Function
run_all_tests
()
examples/delta_time.py:387
↓ 1 callers
Function
run_demo
()
examples/statemachine/documentSignoffDemo.py:22
↓ 1 callers
Function
run_demo
()
examples/statemachine/libraryBookDemo.py:36
↓ 1 callers
Method
set_break
Method to invoke the Python pdb debugger when this element is about to be parsed. Set ``break_flag`` to ``True`` to enable, ``False``
pyparsing/core.py:666
↓ 1 callers
Method
set_debug_actions
Customize display of debugging messages while doing pattern matching: :param start_action: method to be called when an expression is
pyparsing/core.py:2013
↓ 1 callers
Method
set_fail_action
Define action to perform if parsing fails at this expression. Fail acton fn is a callable function that takes the arguments `
pyparsing/core.py:860
↓ 1 callers
Function
show_diffs
(original, modified)
pyparsing/tools/cvt_pyparsing_pep8_names.py:100
↓ 1 callers
Method
streamline
(self)
pyparsing/core.py:6340
↓ 1 callers
Function
sum_atomic_weights
(element_list)
examples/chemical_formulas.py:30
← previous
next →
301–400 of 1,655, ranked by callers