Zyte-api

Latest version: v0.6.0

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.4.0

------------------

* Require to install ``Brotli`` as a dependency. This changes the requests to
have ``Accept-Encoding: br`` and automatically decompress brotli responses.

0.3.0

------------------

Internal AggStats class is cleaned up:

* ``AggStats.n_extracted_queries`` attribute is removed, as it was a duplicate
of ``AggStats.n_results``
* ``AggStats.n_results`` is renamed to ``AggStats.n_success``
* ``AggStats.n_input_queries`` is removed as redundant and misleading;
AggStats got a new ``AggStats.n_processed`` property instead.

This change is backwards incompatible if you used stats directly.

0.2.1

------------------

* ``aiohttp.client_exceptions.ClientConnectorError`` is now treated as a
network error and retried accordingly.
* Removed the unused ``zyte_api.sync`` module.

0.2.0

------------------

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

0.1.4

------------------
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

------------------

* Minor documenation fix
* Remove support for Python 3.6
* Added support for Python 3.10

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.