- Breaking Change:
tidehunter.SimpleStateCounter
updated to reflecttechies
0.2.0 changes onStateCounter
. Consequentlytechies
must be updated to 0.2.0+ if you wish to usetidehunter
1.0.1+
- Moved codebase of
Queue
,StateCounter
to techies. It's recommended to usetechies
together withtidehunter
, but not always required, and therefore not a dependency oftidehunter
- 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 offrom tidehunter.stream import Hunter
- Replaced
PycURL
with requests. Some of the benefits:- Straight Python 2/3 support
- Much cleaner implementation
- Further delegation of various authentications support to
requests
itself
PyCurl
andRedis
Python libraries bumped to the latest versions.Queue
now is almost Python Queue compatible (in a complaint free fashion), with the exception ofQueue.full
which always returnsFalse
;Queue.task_done
andQueue.join
do nothing.- NEW: Both
Queue
andStateCounter
now have aclear
method which performs a RedisDEL
command on the said key and reinitialize based on each class'sinitialize
method.
- Added alias methods
put_nowait()
andget_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.
- Massive update to README.rst
- Fixed PyPi rendering of long description.
- 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).
- Use the great httpbin.org (by Kenneth Reitz) for unit test now.
- Auth (oauth or basic) is no longer required, as long as the target stream server supports access without auth.
- Include CHANGES (changelog) to be shown on PyPi.
- Use with statement to open files for setup.py.
- Added the first demo.
- Clean up setup.py to ensure requirements are installed/updated.
- Initial release