#nom #requirements #python #parser

pyreq-rs

A Rust library to parse python requirements file using nom

1 unstable release

0.1.0 Mar 23, 2023

#2261 in Parser implementations

Download history 49/week @ 2024-02-22 15/week @ 2024-02-29 3/week @ 2024-03-14

67 downloads per month

MIT license

62KB
1.5K SLoC

About

A parser for python requirement files using nom.

nom includes parsers(functions that take inputs and return IResult), parser generators(general functions that take specific indicating arguments and return a specific parser of one kind), parser combinators(functions that take parsers and return a new combined parser), and some useful testing functions(like is_alphanumeric).

Dependencies

~1MB
~17K SLoC