Skip to main content

A ModSecurity config parser for Python 3

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for msc-pyparser, version 0.1
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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page