A Python library to parse strings and extract information from structured/unstructured data using Grok patterns (similar to logstash grok). Current version is 1.0.0, with a major API redesign in v1.0.0 that breaks compatibility with older versions. Release cadence is sporadic, with most updates in 2015-2016.
pip install pygrokVerified import paths — ran on the pinned version, not inferred.
Basic usage: compile a pattern and match against a string.
Upgrade to v1.0.0 and use `from pygrok import Grok`.
Change to `from pygrok import Grok`.
Use `result = grok.match(text); if result: ...`.
Use `from pygrok import Grok`.
Reinstall with `pip install pygrok` (v1.0.0) and use `from pygrok import Grok`.
No dependency data recorded yet.