Skip to main content

Python interface to Zyte Data API

Project description

PyPI Version Supported Python Versions Build Status Coverage report

Python client libraries for Zyte Data API.

Command-line utility and asyncio-based library are provided by this package.

Installation

pip install zyte-api

zyte-api requires Python 3.7+.

API key

Make sure you have an API key for the Zyte Data API service. You can set ZYTE_API_KEY environment variable with the key to avoid passing it around explicitly.

Read the documentation for more information.

License is BSD 3-clause.

Changes

0.2.0 (2022-07-14)

  • Temporary download errors are now retried 3 times by default. They were not retried in previous releases.

0.1.4 (2022-05-21)

This release contains usability improvements to the command-line script:

  • Instead of python -m zyte_api you can now run it as zyte-api;

  • the type of the input file (--intype argument) is guessed now, based on file extension and content; .jl, .jsonl and .txt files are supported.

0.1.3 (2022-02-03)

  • Minor documenation fix

  • Remove support for Python 3.6

  • Added support for Python 3.10

0.1.2 (2021-11-10)

  • Default timeouts changed

0.1.1 (2021-11-01)

  • CHANGES.rst updated properly

0.1.0 (2021-11-01)

  • Initial release.

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

zyte-api-0.2.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

zyte_api-0.2.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file zyte-api-0.2.0.tar.gz.

File metadata

  • Download URL: zyte-api-0.2.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for zyte-api-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a8c314af074103a27e06d53d047d5f91de8bc3a1277a9708b8ba9f6fe3d6b92c
MD5 50c285c761b7cf6f075fb00faf3e2b38
BLAKE2b-256 4a785e6a657518c81120a7c8440897bf3f91e5bdf0fbbe245b4223b54ab06a55

See more details on using hashes here.

File details

Details for the file zyte_api-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: zyte_api-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for zyte_api-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c10fe25f533b523fe187ce5d0f91b3b77fd12c176645e3a63d0a83af9a34f5d
MD5 47d2e10a8a0f8de145dafb78c77fe9c8
BLAKE2b-256 43158ca8c3f00688f6a57d7a3b33f266f7632693fe8ebe57c7073fc2c66ba908

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