gccoutputparser
A simple GCC/LLVM (clang) output parser. It reads lines from compiler and makefile runs, parse, split them and provides parsed information in a harmonized format.
It is possible to configure what you want: access to the pased information? Counters? Affected files?
Installation
Simple install this module via pip (pip for Python 2 is also supported)
pip3 install --user gccoutputparser
Preface
GCC sends warnings and errors to standard error while normal output goes to standard output.
Usage
import gccoutputparser
e = gccoutputparser.GccOutputParser(working_directory=os.pwd())
e.feed()
stats = e.statistics()
number_warnings = len(e.warnings())
e.warnings(path_filter='path/matching/in')
Metadata
Release files for gccoutputparser 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gccoutputparser-0.1.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gccoutputparser-0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 6.0 kB
Release files / gccoutputparser-0.1.tar.gz
| Download URL | gccoutputparser-0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
813b32ad34d61c03853197e629587eadb322af0b01fdeb89006da101ef16d378
|
|
BLAKE2b-256 checksum How to use checksums |
81e8c2462177a8c6f9a24c51a968fb92632ccbf2367b92ae5396bea9539ed23c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / gccoutputparser-0.1-py2.py3-none-any.whl
| Download URL | gccoutputparser-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1f55e45688e3e199eefeef32928b7661b132e2e035794fe2f5d3626f2545dc18
|
|
BLAKE2b-256 checksum How to use checksums |
9abb86e3da85722b70e15f320412c87b02e32de1ac46f9c773ce6d3644decb2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|