Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpostmaster-domains-datas-0.0.3.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

gpostmaster_domains_datas-0.0.3-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file gpostmaster-domains-datas-0.0.3.tar.gz.

File metadata

  • Download URL: gpostmaster-domains-datas-0.0.3.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for gpostmaster-domains-datas-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a3982e5e45404ea1d9735ce453cb3eda332b42ff7444a90a6280f0591fa71479
MD5 b3d59a1df82764dbc24fe1915b7b9271
BLAKE2b-256 fe0368f5191cf6250442f6661bf201494f1b05e31c836e5669b8ef0e7cccb77c

See more details on using hashes here.

File details

Details for the file gpostmaster_domains_datas-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: gpostmaster_domains_datas-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for gpostmaster_domains_datas-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 112e4dba4207087a19fa2380a067e30e869d479348ca17a5d24fe3ee61185b86
MD5 2b93ad6ed83668e8fa064b85779855bb
BLAKE2b-256 b16da573cb7ae6d61d123865a7f82848b9d7f859e8fbd979d3fa4ee084a260b5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page