Downloads and flattends datas from Google Postmaster Tools (GPT)
Project description
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
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]
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gpostmaster-domains-datas-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 783519262f15569565b8932b8aeb7d5dfc2af2221c8f38b0c952cdcf6f95bd7e |
|
MD5 | 598855321846626c0c06411677ff8d2f |
|
BLAKE2b-256 | b8a7d3b8c063d1d48a2242938f0e7f8c2f3788df53166f7de7d7d5d810a39914 |
Close
Hashes for gpostmaster_domains_datas-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c5ece690adb2efff3b5754669d67054b14d69d36f20e669854df43992ffcb6a |
|
MD5 | bfcebc41834d604e7a166d66653e0334 |
|
BLAKE2b-256 | 1c914c73a6c3033b4ef5f5ebe42c26e11c8b1ae5d24ed33d624611cd6dcf82f4 |