HTTP daemons config files parser for Python 3
Project description
httpd_pyparser is a parser collection library, 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file httpd_pyparser-0.3.tar.gz
.
File metadata
- Download URL: httpd_pyparser-0.3.tar.gz
- Upload date:
- Size: 31.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d077ef5d3519832b08574d52665f08e341aa0242ec804a5ceeb565305ce3de12 |
|
MD5 | cd5774e04ec89a7c747573968f759925 |
|
BLAKE2b-256 | 3cee244e4685a97f30b0245432d01552e9bd6b494de0fcfabb1778d722185468 |
File details
Details for the file httpd_pyparser-0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: httpd_pyparser-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 35.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6063eccfd5a54734bc8612d0fbadcceeb020b0b0dc5beee760c68c6e8d805fa |
|
MD5 | c5cde39454713122a68bf08c6e94d274 |
|
BLAKE2b-256 | 76917a3166f1a90673cedae1f4b0269f369efabc3b3b343fe55dbf1c1860b8e0 |