Tidehunter

Latest version: v1.0.1

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

Scan your dependencies

Page 1 of 2

1.0.1

* __Breaking Change__: `tidehunter.SimpleStateCounter` updated to reflect [`techies`](https://github.com/woozyking/techies) 0.2.0 changes on `StateCounter`. Consequently `techies` must be updated to 0.2.0+ if you wish to use `tidehunter` 1.0.1+

1.0.0

* Moved codebase of `Queue`, `StateCounter` to [techies](https://github.com/woozyking/techies). It's recommended to use `techies` together with `tidehunter`, but not always required, and therefore not a dependency of `tidehunter`
* Added `tidehunter.SimpleStateCounter` to be used when no other state counter provided. It's a pure in-process implementation and therefore cannot be accessed by other processes
* You can now do `from tidehunter import Hunter` instead of `from tidehunter.stream import Hunter`
* Replaced `PycURL` with [requests](https://github.com/kennethreitz/requests). Some of the benefits:
* Straight Python 2/3 support
* Much cleaner implementation
* Further delegation of [various authentications support](http://docs.python-requests.org/en/latest/user/authentication/) to `requests` itself

0.1.9

* `PyCurl` and `Redis` Python libraries bumped to the latest versions.
* `Queue` now is __almost__ Python Queue compatible (in a complaint free fashion), with the exception of `Queue.full` which always returns `False`; `Queue.task_done` and `Queue.join` do nothing.
* NEW: Both `Queue` and `StateCounter` now have a `clear` method which performs a Redis `DEL` command on the said key and reinitialize based on each class's `initialize` method.

0.1.8

* Added alias methods `put_nowait()` and `get_nowait()` and other place holders to map the Python built-in Queue interfaces.
* Added `rstgen` shell script for Markdown to reStructuredText. To use, run `$ source rstgen` in the root folder.
* Credentials involved in unit tests and demo are now using environment variables.

0.1.7

* Massive update to README.rst
* Fixed PyPi rendering of long description.

0.1.5

* NEW: `Hunter.tide_on()` now accepts an optional limit parameter for on the fly limit adjustment. The adjustment is not permanent, meaning if you want to reuse the same Hunter object, the old limit (or default None) is in effect.
* Fixed a potential issue of Hunter puts in more records than desired limit.
* Added temp Basic Auth test case (no stream, need to find a better source).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.