Paul Sokolovsky
d1bc4918c5
upip: Release 1.1.
2016-10-09 12:29:50 +03:00
Paul Sokolovsky
e25148e860
upip: Update utarfile from upstream.
2016-10-09 12:28:26 +03:00
Paul Sokolovsky
1401fa385a
utarfile: Release 0.3.1.
2016-10-09 12:22:19 +03:00
Paul Sokolovsky
54a527582a
utarfile: Remove unused function.
2016-10-09 12:21:18 +03:00
Paul Sokolovsky
8fa7dcc9c0
upip: Use gzip dictionary size depending on heap size available.
...
For systems with 64K of heap or less, use small dictionary size of 4KB.
Otherwise, use standard 32KB.
2016-10-09 02:19:53 +03:00
Paul Sokolovsky
d804100c20
upip: Add import-based usage help.
2016-10-09 02:13:05 +03:00
Paul Sokolovsky
47a6633a31
upip: Don't parse MICROPYPATH, just use sys.path[1] as set by micropython.
...
Makes POSIX and baremetal behavior simpler and more consistent.
2016-10-09 02:12:31 +03:00
Paul Sokolovsky
1ca07881e3
upip: A bit better reporting of networking errors.
2016-10-08 14:56:09 +03:00
Paul Sokolovsky
29c90a6231
upip: Don't rely on presence of directory entries in tar.
...
Just create intermediate path components for every filename.
2016-10-08 14:41:41 +03:00
Paul Sokolovsky
69390da38f
upip: _makedirs(): Make compatible with FatFs quirks.
...
Don't have trailing "/" in paths.
2016-10-08 01:17:20 +03:00
Paul Sokolovsky
c06f693ac3
upip: expandhome(): Call uos.getenv() only if there's something to expand.
...
To work on baremetal targets without getenv().
2016-10-08 00:36:24 +03:00
Paul Sokolovsky
f115b8c22f
upip: install(): Accept single package name in addition to a list.
2016-10-08 00:25:29 +03:00
Paul Sokolovsky
bf63593305
upip: Factor out deducing default installation path to a function.
...
Make this deducing friendly to baremetal systems by falling back to
sys.path if os.getenv() is not available (sys.path[1] is used as
an install path in this case).
2016-10-08 00:12:17 +03:00
Paul Sokolovsky
c1bfa36dbf
upip: Factor out install() function.
2016-10-07 01:41:19 +03:00
Paul Sokolovsky
ce843f3ffc
upip: Make importable as a module.
2016-10-07 01:27:50 +03:00
Paul Sokolovsky
542c8cf9ef
upip: save_file(): Optimize, use inplace buffer.
2016-10-06 00:50:55 +03:00
Paul Sokolovsky
7bc041e620
upip: Release 1.0.
2016-10-05 00:32:33 +03:00
Paul Sokolovsky
7b3a2c0a42
upip: Update utarfile module, readinto() support.
2016-10-04 00:13:53 +03:00
Paul Sokolovsky
31c4957ec5
utarfile: Release 0.3.
2016-10-03 23:53:37 +03:00
Paul Sokolovsky
30e1a9dbbe
utarfile: Add readinto() method.
2016-10-02 07:26:50 -04:00
Paul Sokolovsky
ab714615c6
upip: Remove wget fallback.
2016-10-01 17:32:07 -07:00
Paul Sokolovsky
cbc423ae41
upip: Remove unneed cruft.
...
upip now works only with MicroPython, and the only Py-level dependency is
upip_utarfile.
2016-09-30 00:28:29 -07:00
Paul Sokolovsky
62671a4795
upip: upip_gzip.py no longer used, remove.
2016-09-29 08:53:09 -07:00
Paul Sokolovsky
6764d27d78
upip: Switch to stream mode of operation using uzlib.DecompIO.
...
So, there's no longer requirement that uncompressed file fit into memory,
though for stream mode, max dictionary size of 32K is used so far.
2016-09-28 09:00:33 -07:00
Paul Sokolovsky
b6bfd9963d
upip: Update utarfile module (support reading an open stream).
2016-09-27 03:15:25 -07:00
Paul Sokolovsky
7315442c7b
utarfile: Release 0.2.
2016-09-26 12:10:33 -07:00
Paul Sokolovsky
6b0dafde63
utarfile: Add "fileobj" constructor argument to use existing stream.
2016-09-26 12:09:45 -07:00
Paul Sokolovsky
daa50c17d3
upip: Release 0.8.
2016-09-23 15:33:25 +03:00
Paul Sokolovsky
d6a3434ebe
umqtt.simple: Release 1.2.
2016-09-18 21:22:23 +03:00
Paul Sokolovsky
b5f9cd2581
umqtt.simple: README: Mention set_last_will().
2016-09-18 20:59:36 +03:00
candale
a254329557
umqtt.simple: Added last will capability.
2016-09-18 20:59:36 +03:00
Paul Sokolovsky
709e2f04ce
time: Release 0.3.
2016-09-18 20:21:03 +03:00
Renaud Guillon
bd7c796043
time: Added the functions mktime localtime and gmtime
2016-09-18 20:19:21 +03:00
Michaël Schrijver
2903d599c7
upip: Initialize socket with protocol family as gotten from resolver.
...
Fixes working over IPv6.
2016-09-12 23:56:36 +03:00
Paul Sokolovsky
98c6fb9024
umqtt.simple: Allow to pass arbitrary params to ussl.wrap_socket().
2016-08-24 01:04:32 +03:00
candale
c9a9b48ebe
umqtt.simple: Add keepalive connection parameter.
2016-08-24 01:01:17 +03:00
Nicolas Graziano
fcec7f7c1d
umqtt.simple: Add MQTT user/password authentication.
...
Limitation the total length of client id, user name and password must
be under 111 characters.
2016-08-15 17:12:56 +03:00
Paul Sokolovsky
1aaaf0dea4
umqtt.robust: Add README and metadata.
2016-08-15 17:06:49 +03:00
Paul Sokolovsky
bfeaea56cd
umqtt.simple: Release 1.1.
2016-08-15 17:01:36 +03:00
puuu
b66c68ee4e
umqtt.simple: Let subscribe() process incoming async PUBLISH messages.
...
Utilising retained messages and multiple subscribes, a message could
arrive before the SUBACK packet. Therefore, wait_msg() must be called
in subscribe().
2016-08-10 22:22:22 +03:00
puuu
a261f4b4d7
umqtt.simple: do not close the socket in ping()
2016-08-08 21:58:44 +09:00
Paul Sokolovsky
9f7b60bede
umqtt.simple: publish(): Reuse existing bytearray.
2016-08-08 01:07:59 +03:00
Paul Sokolovsky
1e83b27b9d
upysh: Release 0.6.
2016-08-06 15:11:28 +03:00
mad474
c5b01d18fd
upysh: Mention "mv" command in help text
2016-08-06 13:50:34 +02:00
Paul Sokolovsky
208c7f0f17
umqtt.simple: Add SSL support.
2016-08-05 00:40:05 +03:00
Paul Sokolovsky
4a8ef9f99c
umqtt.simple: Be sure to return socket to blocking state after check_msg().
2016-07-31 15:59:24 +03:00
Paul Sokolovsky
08f7d09353
umqtt.simple/README: Describe return value of connect().
2016-07-30 14:47:03 +03:00
puuu
20cd8e4651
umqtt.robust: publish(): Adapt signature to umqtt.simple.
...
umqtt.simple uses publish(self, topic, msg, retain=False, qos=0), so
make umqtt.robust use the same. Otherwise, retain and qos will not work.
2016-07-27 01:41:03 +03:00
Paul Sokolovsky
6190cec14a
umqtt.robust: Add sub example which can survive server restart.
2016-07-25 00:09:01 +03:00
Paul Sokolovsky
d43faf2d09
umqtt.robust: Make refactored module actually work for reconnects.
2016-07-24 22:24:08 +03:00