pdns-qof/example_code/python
2021-04-29 13:02:24 +02:00
..
__init__.py Add a very simple parse for COF in python including validation of the 2021-04-27 15:31:13 +02:00
cofparser.py Add a very simple parse for COF in python including validation of the 2021-04-27 15:31:13 +02:00
cofparser_jsonschema.py Add python code to test the JSON schema. Works. 2021-04-29 13:02:24 +02:00
README.md Add python code to test the JSON schema. Works. 2021-04-29 13:02:24 +02:00

Example python parser

This little package can parse the Passive DNS Common Output Format (COF) and validate it. It is given as example code.

  • cofparser.py ... a manually written parser for the COF format
  • cofparser_jsonschema.py .... one which uses the JSON schema to validate.