#nom #requirements #python

pyreq-rs

A Rust library to parse python requirements file using nom

1 unstable release

0.1.0 Mar 23, 2023

#21 in #requirements

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
~19K SLoC