Paginate-json

Latest version: v1.0

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

Scan your dependencies

1.0

- New `--key rows` option for specifying the key in a root-level object that should be iterated over. [7](https://github.com/simonw/paginate-json/issues/7)
- The `--jq` option now works with either [jq](https://pypi.org/project/jq/) or [pyjq](https://pypi.org/project/pyjq/) installed as an optional dependency. [#10](https://github.com/simonw/paginate-json/issues/10)
- No longer produces debug logging to `stderr` by default - you can now enable that with the new `-v/--verbose` option. [8](https://github.com/simonw/paginate-json/issues/8)
- If a response returns an object instead of a list, `paginate-json` now treats that as if it were a list of a single object. [9](https://github.com/simonw/paginate-json/issues/9)
- Now fails with an error if it gets an HTTP response with a non-200 status code, unless you pass the `--ignore-http-errors` option. [13](https://github.com/simonw/paginate-json/issues/13)

0.3.1

- Now handles relative URLs in `link` HTTP headers. Thanks, [Geoff Baskwill](https://github.com/glb). [#5](https://github.com/simonw/paginate-json/issues/5)
- [README](https://github.com/simonw/paginate-json/blob/master/README.md) now links to example tutorials.

0.3

* `--sleep` option for sleeping in between requests 3
* `--silent` option for disabling debug output sent to stderr 1
* `--show-headers` option for outputting response headers to stderr 2
* `--header HEADER VALUE` multi-option for adding additional headers to the request 4

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.