The `keepalive` is always set to `KEEP_ALIVE_SEC` and cannot be overridden by the user. This fix uses the user-provided `keepalive` from `kwargs` and defaults to `KEEP_ALIVE_SEC` if there is None.
This fixes#28
Fix KEEP_ALIVE_SEC to be 60 seconds instead of the current value of 3600 which is in fact an hour.
This fixes#25 which is an issue because the broker disconnects after 300 seconds with no ping.
- Refactored REST client to use requests library for Python 3 compatibility.
- Added docstrings to all public methods & classes.
- Fleshed out CRUD APIs for data, feed, group.
- Wrote full suite of integration tests to verify changes.
- Updated setup.py to bump version to 0.9 & depend on requests and paho-mqtt modules.
- Updated and tested code to work with both Python 2 and 3.
- Broke out errors into separate file, and added explicit data model classes.
- General cleanup and preparation for public release.