py-emailprotections
This is a simple library designed to assist people with finding email protections.
Installing
pip install py-emailprotections
Usage
The simplest use of this library is to find and process SPF and DMARC records for domains. This is easiest with the SpfRecord.from_domain(domain) and DmarcRecord.from_domain(domain) factory methods.
Example:
import emailprotectionslib.spf as spf
import emailprotectionslib.dmarc as dmarc
spf_record = spf.SpfRecord.from_domain("google.com")
dmarc_record = dmarc.DmarcRecord.from_domain("google.com")
print spf_record.record
print dmarc_record.policy
Metadata
Release files for py-emailprotections 0.8.5
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 | Actions |
|---|---|---|---|---|
| py-emailprotections-0.8.5.tar.gz | 5.5 kB | Without provenance | Details for py-emailprotections-0.8.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_emailprotections-0.8.5-py3-none-any.whl | Python 3 | none | any | Details for py_emailprotections-0.8.5-py3-none-any.whl |
Total release size: 13.1 kB
Release files / py-emailprotections-0.8.5.tar.gz
| Download URL | py-emailprotections-0.8.5.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
598350fac2dcc68a8762b48d1eb51ac5ad3976b6e1145f0d7ae3ee2cbc1d225a
|
|
BLAKE2b-256 checksum How to use checksums |
a9cd5c7831ceea129421a04f2d62c2dd61fd444af06f95c8b748960bb16e8456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.9
|
Release files / py_emailprotections-0.8.5-py3-none-any.whl
| Download URL | py_emailprotections-0.8.5-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95788ebd737dc395bbb5199db79be6b186a985dfb40b5de20e5787305a96b92f
|
|
BLAKE2b-256 checksum How to use checksums |
043b975c657428ffa3bfc5d0d6e352c1a4f5dc0cc2f6384caeaf142b7c566d06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.9
|
Security for py-emailprotections 0.8.5
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.