Python interface to Zyte Data API
Project description
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.
Documentation: https://python-zyte-api.readthedocs.io
Source code: https://github.com/zytedata/python-zyte-api
Issue tracker: https://github.com/zytedata/python-zyte-api/issues
Changes
0.2.1 (2022-07-29)
aiohttp.client_exceptions.ClientConnectorError is now treated as a network error and retried accordingly.
Removed the unused zyte_api.sync module.
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
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.