Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Mindbaz/python-gpostmaster-domains-datas
Downloads and flattends datas from Google Postmaster Tools (GPT)
https://github.com/Mindbaz/python-gpostmaster-domains-datas
email email-reputation google-postmaster gpt mail
Last synced: 3 months ago
JSON representation
Downloads and flattends datas from Google Postmaster Tools (GPT)
- Host: GitHub
- URL: https://github.com/Mindbaz/python-gpostmaster-domains-datas
- Owner: Mindbaz
- License: gpl-3.0
- Created: 2021-06-28T08:43:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-13T12:29:07.000Z (about 1 year ago)
- Last Synced: 2024-07-16T03:10:20.731Z (4 months ago)
- Topics: email, email-reputation, google-postmaster, gpt, mail
- Language: Python
- Homepage:
- Size: 5.75 MB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-opensource-email - Google Postmaster Datas - Downloads and flattends datas from Google Postmaster Tools (GPT) (Deliverability / Reputation)
README
# Google Postmaster Datas
Unofficial tool to download and flatten data from GPT. The recovered data will
offer a simple schema in order to be able to easily save this data in a flat
file or in database.## Schema
* user_report_spam_percent : `float|None`
* ips_reputations : `list`
* domain_reputation : `level|None`
* feedback_loop : `{ nb_campaigns: 0, percent_per_campaign: list }`
* auth_use_dkim_percent : `float|None`
* auth_use_spf_percent : `float|None`
* auth_use_dmarc_percent : `float|None`
* tls_inbound_percent : `float|None`
* delivery_errors : `list`
* domain : `str`
* date : `str`### Level
Translates string level from GTP to int
| EN | FR | int |
|:------:|:---------------:|:---:|
| high | bonne | 4 |
| medium | moyenne | 3 |
| low | plutôt mauvaise | 2 |
| bad | mauvaise | 1 |
| unknow | unknow | 0 |### ips_reputations
[ { 'level': level, 'value': float, 'ips': str } ]### feedback_loop
percent_per_campaign : [ { 'uid': int, 'spam_percent': float } ]
# How to use it
```sh
python entry_points_googlepostmasterapi/gpt_dl_all_datas.py -h
> usage: gpt_dl_all_datas [-h] [--token [TOKEN]] [--pool-size [POOL_SIZE]] [--date [DATE]] [--verbose] [--version]
``````sh
python entry_points_googlepostmasterapi/gpt_dl_domain_datas.py -h
> usage: gpt_dl_domain_datas [-h] [--token [TOKEN]] [--domain [DOMAIN]] [--date [DATE]] [--verbose] [--version]
```# Support version
Python : `>=3.6`