A ModSecurity config parser for Python 3
msc_pyparser is a parser, which uses PLY (Python Lex and Yacc). It tokenizes the given text, and applies the language rules. If it’s done, then builds an own structure: a list of dictionary items.
The items contains the configuration directives from the original files, and the number of lines where it founded. Also the items contains other datas about the configuration line and structure.
Therefore, you can make many transformations on the structured data, and can write back the modified config.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size msc_pyparser-0.1-py3.7.egg (25.4 kB)||File type Egg||Python version 3.7||Upload date||Hashes View|