Metadata-Version: 2.1
Name: soaparse
Version: 1.2.1
Summary: Sane, modular DNS authority (SOA) record parsing
Home-page: https://github.com/wesinator/soaparse
Author: wesinator
License: UNKNOWN
Description: # soaparse
        Sane, modular DNS [SOA record](https://en.wikipedia.org/wiki/SOA_record) parsing
        
        Fields are based on https://www.ripe.net/publications/docs/ripe-203
        
        The best-guess email addresses are parsed from the `rname` field:
         - Replacing with `@`:
            - the second from last `.` (`email_parsed_last`)
            - the first `.` (`email_parsed_first`)
        
        Trailing periods are stripped
        
        #### Usage
        ```python
        import json
        import soaparse
        
        soa_record_str = "ns.example.com. email.example.com. 20200101 60 3 2 1"
        soa = soaparse.soa_parse(soa_record_str)
        
        json.dumps(soa.__dict__)
        ```
        
Keywords: dns
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
