Commit graph

88 commits

Author SHA1 Message Date
brentru
f056b834bc fixing ModuleNotFoundError for _version 2018-06-26 16:44:42 -04:00
brentru
865bf5f497 change feed model to explicitly set values 2018-06-26 16:04:00 -04:00
brentru
4dbef23883 deprecating stream in v2 client, handled by API 2018-06-26 14:03:44 -04:00
brentru
204889ec24 created a single-source for package vers. 2018-06-26 12:34:11 -04:00
Justin Cooper
0cd3180467 update changelog for error updates 2017-06-29 11:49:22 -05:00
Justin Cooper
f9f659b7e8 drop retain in on_message 2017-06-29 11:48:25 -05:00
Justin Cooper
9de0fe99f1 pass error details if available in RequestError 2017-06-29 11:12:44 -05:00
Justin Cooper
15122752da batch data test 2017-06-27 15:43:55 -05:00
Justin Cooper
c21867eb75 rename send to send_data and craete alias to send, rework readme 2017-06-27 15:39:56 -05:00
Justin Cooper
a5946f6ad2 update client calls with username and add send_batch_data 2017-06-27 15:20:15 -05:00
Justin Cooper
08614c0140 reorganize examples, and add a new data example 2017-06-27 14:23:43 -05:00
Justin Cooper
e63fa511bc update wording of send 2017-06-27 13:56:02 -05:00
Justin Cooper
2d3ab45184 update wording of data send 2017-06-27 13:55:18 -05:00
Justin Cooper
27d4a48e61 new feeds operations example 2017-06-27 10:59:48 -05:00
Justin Cooper
aa4e806f13 wrap feed parameter 2017-06-27 10:59:20 -05:00
Justin Cooper
1e2d7f1dd0 update feed fields for api v2 and drop stream from feed 2017-06-27 10:58:12 -05:00
Justin Cooper
b41ad7e46c update changelog and set version to 2.0.0 2017-06-27 10:56:48 -05:00
Justin Cooper
b390997560 update api example with username 2017-06-26 16:29:04 -05:00
Justin Cooper
5ce57c2bc8 add username to client calls 2017-06-26 16:27:01 -05:00
Justin Cooper
085ba1ce58 add username to client call 2017-06-26 16:26:43 -05:00
Justin Cooper
f70273d8dd add retain in on_message test 2017-06-26 15:42:57 -05:00
Justin Cooper
a3dc09a8fd remove print statement 2017-06-26 15:42:39 -05:00
Justin Cooper
5ba915a4fd revert error condition 2017-06-26 15:20:13 -05:00
Justin Cooper
9111e3da5d initial api v2 support as default 2017-06-26 15:15:46 -05:00
Justin Cooper
75a84c56c2 Merge pull request #22 from mikeadamz/retain_flag
Pass 'retain' flag from paho MQTT to on_message callback
2017-06-26 10:20:55 -05:00
Justin Cooper
3d79f01d1c Merge pull request #29 from radudragusin/patch-1
Allow user to override keepalive on connect
2017-06-26 10:18:30 -05:00
Justin Cooper
ac462142f8 Merge pull request #27 from MonoHelixLabs/radudragusin-fix-keepalive
Fix KEEP_ALIVE_SEC to be 60 seconds
2017-06-26 10:17:40 -05:00
Justin Cooper
ce1b4bbc76 Merge pull request #32 from edzob/patch-1
replace Test with Foo in the print output for read data from feed Foo
2017-06-26 10:17:02 -05:00
Justin Cooper
7806582c66 Merge pull request #33 from torbinsky/issue8-v1apipaths
Updated client to use a version property (defaults to API v1) so it w…
2017-06-26 10:16:35 -05:00
Justin Cooper
4b6b47e48d Merge pull request #16 from JaquerEspeis/python3_prints
Add parenthesis to the prints so they work on python3 also.
2017-06-26 09:40:24 -05:00
Torben
9deb90340b Updated client to use a version property (defaults to API v1) so it works with legacy API 2017-05-26 00:59:50 +00:00
Edzo Botjes
813e78d396 replace Test with Foo in the print output for read data from feed Foo 2017-03-31 11:10:24 +02:00
radudragusin
15b8789d6c Allow user to override keepalive on connect
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
2016-10-02 13:27:07 +02:00
radudragusin
1a7fba5f96 Fix KEEP_ALIVE_SEC to be 60 seconds
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.
2016-10-02 12:56:08 +02:00
Tony DiCola
4d092e7e57 Merge branch 'updated-user-agent' 2016-06-20 15:25:14 -07:00
Tony DiCola
921a90e2d8 Add python platform & version, system platform to user agent. 2016-06-20 15:24:45 -07:00
Adam Bachman
705f611925 set custom User-Agent for outgoing HTTP requests 2016-06-15 20:08:48 -04:00
Tony DiCola
6db249cc02 Add GitHub pull request template 2016-05-27 13:23:47 -07:00
Tony DiCola
df8791f29e Add GitHub issue template 2016-05-27 13:21:21 -07:00
Tony DiCola
a8d7231664 Add GitHub issue template 2016-05-27 12:49:26 -07:00
Tony DiCola
a839ffe089 Bump to v1.1.0 to get versions on PyPi and github consistent. 2016-03-29 00:54:22 -07:00
Tony DiCola
508bf8a934 Fix #11 by ensuring disconnect handler always called on disconnect (on unexpected disconnect the rc is logged as a debug message). 2016-03-29 00:34:41 -07:00
Mike Adams
24ae5bb3cc Pass 'retain' flag from paho MQTT to on_message callback 2016-03-16 12:51:53 -07:00
Tony DiCola
4441845d28 Update README.md
Mention pip install is now possible with adafruit-io pip package.
2016-01-25 16:51:14 -08:00
Leo Arias
bc8856f61a Add parenthesis to the prints so they work on python3 also. 2016-01-20 20:53:34 -06:00
Todd Treece
2a3063bcc8 add ez_setup module to setup.py 2016-01-19 08:13:59 -05:00
Todd Treece
562e55ed42 add readme to manifest.in 2016-01-19 08:12:02 -05:00
Tony DiCola
028013b1f1 Update setup.py for pypa publish. 2016-01-19 02:34:33 -08:00
Tony DiCola
65320a3a80 Merge pull request #7 from gblanchard4/readme-cleanup
Readme cleanup
2015-10-05 17:59:09 -07:00
Gene Blanchard
b5eb9e464e remove extra 'the' 2015-10-02 17:57:16 -05:00