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 Distribution

msc_pyparser-1.2.2.tar.gz (47.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msc_pyparser-1.2.2-py2.py3-none-any.whl (48.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file msc_pyparser-1.2.2.tar.gz.

File metadata

  • Download URL: msc_pyparser-1.2.2.tar.gz
  • Upload date:
  • Size: 47.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.8.3 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for msc_pyparser-1.2.2.tar.gz
Algorithm Hash digest
SHA256 412de2418a35e49ba748cd7007058e03e6c0db3a51cedb6bc23799d62fa367bc
MD5 363866f77d241fc2ac31543c720257cf
BLAKE2b-256 98394a50f2ff69609d2d79a28df2679fccb70e48c291e73b6e05d5aeddc36d49

See more details on using hashes here.

File details

Details for the file msc_pyparser-1.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: msc_pyparser-1.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 48.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.8.3 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for msc_pyparser-1.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 978196044690e4a68d7686416aabf774d6b7be5f58f8f0510c36932bde0722ea
MD5 190bb8e48dee59842728ecda387af31b
BLAKE2b-256 8c6aff72190ebc1cb0850fc7ecc2413da46dea3b8581357e0e2aa0a98e171925

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page