soaparse
Sane, modular DNS 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)
- the second from last
Trailing periods are stripped
Usage
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__)
Metadata
Release files for soaparse 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| soaparse-1.3.0.tar.gz | 2.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| soaparse-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.1 kB
Release files / soaparse-1.3.0.tar.gz
| Download URL | soaparse-1.3.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2857872edeea62b4371ae33e1714c4bff4335a83c8e655b99b89a7c55dce5289
|
|
BLAKE2b-256 checksum How to use checksums |
7c95be0c48c6b29fe618851ba809f79bdb6c40297f4e5a80e33340e7e390f83c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / soaparse-1.3.0-py3-none-any.whl
| Download URL | soaparse-1.3.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce5187f3162193d8a8e2493aabcddf60a74ac951e440a01ca460a55fd94ea6ba
|
|
BLAKE2b-256 checksum How to use checksums |
c8dd2c46c15279e4488a209e153b2e59679db7b58475f73df8f7376f781200f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for soaparse 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.