Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coooodeer/parse-rust
/ functions
Functions
394 in github.com/coooodeer/parse-rust
⨍
Functions
394
◇
Types & classes
21
↓ 1 callers
Function
parse_decimal
Parse a decimal integer string, handling sign and base prefixes. Supports: - Optional sign: +, -, space - Base prefixes: 0x (hex), 0o (octal), 0b (bi
src/types.rs:345
↓ 1 callers
Function
parse_global_datetime
(datetime_cls: &Bound<'_, PyAny>, raw: &str)
src/result.rs:229
↓ 1 callers
Function
parse_number_with_sep
Parse a number with thousands separators (commas, dots, underscores).
src/types.rs:408
↓ 1 callers
Function
parse_syslog_datetime
(datetime_cls: &Bound<'_, PyAny>, raw: &str)
src/result.rs:265
↓ 1 callers
Function
parse_values_equal
(left: &ParseValue, right: &ParseValue)
src/parser.rs:415
↓ 1 callers
Method
parse_with_error
(&self, input: &str)
src/parser.rs:206
↓ 1 callers
Method
pattern
(&self)
src/lib.rs:666
↓ 1 callers
Function
print_console_summary
(group: str, all_results: list[dict], raw_path: Path, csv_path: Path, md_path: Path)
benches/benchmark_common.py:509
↓ 1 callers
Function
python_compiled_call
(template: str)
benches/benchmark_common.py:402
↓ 1 callers
Function
python_compiled_findall_runner
(template: str)
benches/benchmark_common.py:242
↓ 1 callers
Function
python_compiled_runner
(template: str)
benches/benchmark_common.py:198
↓ 1 callers
Function
python_compiled_search_runner
(template: str)
benches/benchmark_common.py:220
↓ 1 callers
Function
python_fallback_runner
()
benches/benchmark_common.py:362
↓ 1 callers
Function
python_findall_runner
(template: str)
benches/benchmark_common.py:232
↓ 1 callers
Function
python_parse_call
(template: str)
benches/benchmark_common.py:396
↓ 1 callers
Function
python_parse_runner
(template: str)
benches/benchmark_common.py:188
↓ 1 callers
Function
python_search_runner
(template: str)
benches/benchmark_common.py:210
↓ 1 callers
Function
run
()
tests/test_security_inputs.py:58
↓ 1 callers
Function
rust_compiled_findall_runner
(template: str)
benches/benchmark_common.py:350
↓ 1 callers
Function
rust_compiled_parse_call
(template: str)
benches/benchmark_common.py:415
↓ 1 callers
Function
rust_compiled_parse_runner
(template: str)
benches/benchmark_common.py:254
↓ 1 callers
Function
rust_compiled_search_match_runner
(template: str)
benches/benchmark_common.py:326
↓ 1 callers
Function
rust_compiled_search_runner
(template: str)
benches/benchmark_common.py:338
↓ 1 callers
Function
rust_fallback_runner
()
benches/benchmark_common.py:378
↓ 1 callers
Function
rust_search_match_runner
(template: str, cache_state: str)
benches/benchmark_common.py:296
↓ 1 callers
Function
split_fraction_and_tz
(suffix: &str)
src/result.rs:217
↓ 1 callers
Function
wrap_result_instance
(py: Python<'_>, result: ParseResult)
src/lib.rs:427
↓ 1 callers
Function
write_raw_results
(group: str, all_results: list[dict])
benches/benchmark_common.py:422
↓ 1 callers
Function
write_summary
(group: str, all_results: list[dict])
benches/benchmark_common.py:462
Method
__call__
(&self, py: Python<'_>, func: PyObject)
src/lib.rs:297
Method
__contains__
Check if a named field exists in the result.
src/result.rs:592
Method
__getitem__
Access parsed values by index (int) or name (str). Examples: result[0] # first positional field result['name'] # named field 'name'
src/result.rs:573
Method
__getnewargs__
(&self, py: Python<'_>)
src/lib.rs:705
Method
__iter__
(slf: PyRef<'_, Self>)
src/lib.rs:104
Method
__next__
(mut slf: PyRefMut<'_, Self>, py: Python<'_>)
src/lib.rs:108
Method
__reduce__
(&self, py: Python<'_>)
src/lib.rs:696
Method
__repr__
(&self)
src/lib.rs:709
Method
__repr__
String representation of the result.
src/result.rs:597
Function
_clear_cache
()
src/lib.rs:923
Method
_expression
(&self)
src/lib.rs:674
Function
_handle
(signum, frame)
tests/test_security_inputs.py:21
Function
ab
(text)
benches/benchmark_common.py:366
Function
ab
(text)
tests/test_python_api_integration.py:187
Function
ab
(text)
tests/test_parsetype.py:78
Method
default
()
src/compiler.rs:61
Function
dt_format_to_regex
(format: &str)
src/types.rs:284
Method
eq
(&self, other: &Self)
src/result.rs:120
Function
findall
( py: Python<'_>, format: &str, string: &str, pos: usize, endpos: Opti
src/lib.rs:858
Method
fixed_fields
Get the list of fixed (positional) field indices.
src/parser.rs:183
Method
fixed_fields
(&self)
src/lib.rs:689
Method
from_compiled
(format: &str, compiled: CompiledFormat)
src/parser.rs:145
Method
from_python
(value: &Bound<'_, PyAny>)
src/result.rs:73
Method
from_str
Parse a type character string into a FormatType. Returns None if the type string is not recognized.
src/types.rs:75
Method
get_fixed
Get a fixed (positional) field by index.
src/result.rs:492
Method
get_fixed_span
(&self, index: usize)
src/result.rs:501
Method
get_named_span
(&self, key: &str)
src/result.rs:505
Function
increment
(text)
tests/test_python_api_integration.py:240
Method
into_message
(self)
src/compiler.rs:17
Function
main
()
build.rs:1
Method
named
(&self, py: Python<'_>)
src/result.rs:626
Method
named_fields
Get the list of named field names.
src/parser.rs:178
Method
named_fields
(&self)
src/lib.rs:680
Method
new
Create a new Parser from a format string. Compiles the format string into regex patterns and prepares the parser for matching operations. # Argument
src/parser.rs:131
Method
new
( py: Python<'_>, format: &str, extra_types: &Bound<'_, PyAny>, case_sensitive
src/lib.rs:116
Method
new
(case_sensitive: bool)
src/compiler.rs:167
Method
new
Create a new empty ParseResult.
src/result.rs:482
Method
new_with_custom
( format: &str, case_sensitive: bool, custom_types: &HashMap<String, CustomTypePattern
src/parser.rs:136
Method
new_with_extra
( py: Python<'_>, format: &str, extra_types: &Bound<'_, PyAny>, case_sensitive
src/lib.rs:222
Function
parse
( py: Python<'_>, format: &str, string: &str, extra_types: Option<PyObject>,
src/lib.rs:751
Function
parse_data
(text)
tests/test_parsetype.py:146
Function
parse_number
(text)
tests/test_python_api_integration.py:204
Function
parse_number
(text)
tests/test_bugs.py:55
Function
parse_number
(text)
tests/test_parsetype.py:29
Function
parse_rust
(m: &Bound<'_, PyModule>)
src/lib.rs:720
Function
parse_unit
(text)
tests/test_python_api_integration.py:200
Function
parse_unit
(text)
tests/test_parsetype.py:92
Function
parse_word_and_covert_to_uppercase
(text)
tests/test_bugs.py:51
Function
parse_yesno
(text)
tests/test_parsetype.py:46
Method
pattern
Get the compiled regex pattern string.
src/parser.rs:173
Function
run
(lines)
benches/benchmark_common.py:191
Function
search
( py: Python<'_>, format: &str, string: &str, pos: usize, endpos: Opti
src/lib.rs:807
Method
spans
(&self, py: Python<'_>)
src/result.rs:636
Function
test_alignment_width_and_precision_behaviors_are_exposed_through_api
()
tests/test_python_api_integration.py:138
Function
test_basic
()
tests/test_search.py:4
Function
test_bird
()
tests/test_pattern.py:39
Function
test_braces
()
tests/test_pattern.py:10
Function
test_build_field_pattern_float_keeps_optional_sign
()
src/compiler.rs:822
Function
test_case_sensitive_flag_changes_matching_behavior
()
tests/test_python_api_integration.py:104
Function
test_case_sensitivity
()
tests/test_parsetype.py:164
Function
test_case_sensitivity
()
tests/test_findall.py:21
Function
test_center
()
tests/test_parse.py:84
Function
test_combining_characters
Combining diacritics must not cause span corruption.
tests/test_security_inputs.py:140
Function
test_compile_datetime
()
src/compiler.rs:863
Function
test_compile_escaped_braces
()
src/compiler.rs:869
Function
test_compile_mixed
()
src/compiler.rs:852
Function
test_compile_named
()
src/compiler.rs:837
Function
test_compile_simple
()
src/compiler.rs:830
Function
test_compile_typed
()
src/compiler.rs:845
Function
test_compiled_parser_methods_and_properties
()
tests/test_python_api_integration.py:34
Function
test_contains
()
tests/test_result.py:34
← previous
next →
101–200 of 394, ranked by callers