Skip to main content

Zyte-spmstats

It is a small python module for interacting with Zyte Smart Proxy Manager Stats API

Documentation

Zyte SPM Stats API Documentation

Installation

pip install zyte-spmstats

Usage

  1. For a single domain/netloc:

python -m zyte.spmstats <ORG-API> amazon.com 2022-06-15T18:50:00 2022-06-17T23:00

Output:

{ "failed": 0, "clean": 29, "time_gte": "2022-06-10T18:55:00", "concurrency": 0, "domain": "amazon.com", "traffic": 3865060, "total_time": 1945 },

  1. For a multiple domain/netloc:

python -m zyte.spmstats <ORG-API> amazon.com,pharmamarket.be 2022-06-15T18:50:00 2022-06-17T23:00

Output:

"results": [ { "failed": 88, "clean": 230, "time_gte": "2022-06-13T07:50:00", "concurrency": 1, "domain": "pharmamarket.be", "traffic": 3690976, "total_time": 2386 }, { "failed": 224, "clean": 8497, "time_gte": "2022-06-16T01:45:00", "concurrency": 80, "domain": "amazon.com", "traffic": 2280046474, "total_time": 1373 }]

Release files for zyte-spmstats 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zyte-spmstats 1.0.0
File Size Uploaded
zyte-spmstats-1.0.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zyte-spmstats 1.0.0
File Interpreter ABI Platform
zyte_spmstats-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / zyte-spmstats-1.0.0.tar.gz

Download URL zyte-spmstats-1.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
69098355afbc34d98d079504a2df2f06fdda1d35ad6d6c8243fa53778ca4fa85
BLAKE2b-256 checksum
How to use checksums
bbabdb86184dd83b18decc5911db5221b2c2da69cacc9802d1432e40300075d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / zyte_spmstats-1.0.0-py3-none-any.whl

Download URL zyte_spmstats-1.0.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12b2e5affd1753b51d27c7b99e1eb205bf55da51f9d39b8122292df21dadabef
BLAKE2b-256 checksum
How to use checksums
f9c2af7965ad25e620233bf27a35012656c7c3c68650cbab38c7a3a944a4b82e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page