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.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

msc_pyparser-0.1-py3.7.egg (25.4 kB view hashes)

Uploaded 3 7

Supported by

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