Paul Sokolovsky
e1f9e1085b
machine: Release 0.1.
2016-07-02 18:42:13 +03:00
Paul Sokolovsky
397a05683a
machine: Add unique_id() placeholder.
...
Returns static, non-unique placeholder so far.
2016-07-02 18:39:13 +03:00
Paul Sokolovsky
f1a65bc68b
umqtt.simple: Add standalone sub example.
2016-07-02 14:43:50 +03:00
Paul Sokolovsky
df604048fd
umqtt.simple: Add standalone pub example.
2016-07-02 14:16:42 +03:00
Paul Sokolovsky
f44a33c1df
umqtt.simple: Initial implementation of a simple MQTT client.
2016-07-02 01:13:06 +03:00
Paul Sokolovsky
0b524194a0
os: Release 0.4.3.
2016-06-13 10:16:42 +03:00
Paul Sokolovsky
89d69b1611
os: Add "remove" as an alias to "unlink".
2016-06-13 10:16:36 +03:00
Paul Sokolovsky
c2385790a4
upysh: Release 0.3.
2016-06-12 19:07:23 +03:00
Paul Sokolovsky
47b8dd03ad
upysh: Add to help hint that intended usage is "from upysh import *".
2016-06-12 19:02:03 +03:00
Paul Sokolovsky
1afdd47a37
upysh: Invoke help on import.
2016-06-12 19:00:37 +03:00
Paul Sokolovsky
d9b7dd1d06
upysh: Add "rm" and "rmdir" commands.
...
Also simplified "cd" implementation.
2016-06-12 18:57:14 +03:00
Paul Sokolovsky
ceab4f3b84
urllib.urequest: Release 0.4.1.
2016-06-11 00:28:30 +03:00
Paul Sokolovsky
d036673d7b
urllib.urequest: Avoid allocating memory when issuing request.
...
Memory will still be allocated when parsing response, but this already
saves 164 bytes of memory traffic (x64).
2016-06-11 00:25:16 +03:00
Paul Sokolovsky
52ac454ef7
urllib.urequest: Avoid allocating long semi-duplicate strings.
2016-06-11 00:05:24 +03:00
Paul Sokolovsky
5cd55818fe
traceback: Release 0.2.
2016-06-10 23:10:43 +03:00
Paul Sokolovsky
5ce27099a9
traceback: Add print_exception(), print_exc().
2016-06-10 23:09:38 +03:00
Paul Sokolovsky
2155124db9
getopt: Re-release as 3.3.3 per the latest conventions.
...
Pristine upstream module.
2016-06-10 22:50:38 +03:00
Paul Sokolovsky
9946eba58e
timeit: Release 3.3.3-2.
...
Adds proper dependencies in addition to making it actually work on uPy by
not disabling memory allocation.
2016-06-10 22:47:35 +03:00
Paul Sokolovsky
68b91ee6aa
timeit: Don't call gc.disable(), in uPy that means also "alloc disable".
2016-06-10 22:39:55 +03:00
Paul Sokolovsky
c41717f2c1
linecache: Release 0.0.0.
2016-06-10 22:37:20 +03:00
Paul Sokolovsky
5e0b509b84
linecache: Dummy module with content to satisfy timeit module.
2016-06-10 22:36:06 +03:00
Paul Sokolovsky
cbd7049931
urequests: Release 0.4.
2016-06-10 00:57:40 +03:00
Paul Sokolovsky
c4ee3acba5
urequests: Actually implement user-defined headers support.
2016-06-09 18:58:19 +03:00
Paul Sokolovsky
08ebeb537d
upysh: Release 0.2.
2016-06-01 00:10:44 +03:00
Paul Sokolovsky
893d03aabd
upysh: ls: Print file size/directory type.
2016-06-01 00:10:12 +03:00
Paul Sokolovsky
459c8969bc
upysh: Add "mv" command.
2016-06-01 00:02:31 +03:00
Paul Sokolovsky
0678e321c0
urequests: Release 0.3.
2016-05-31 00:47:33 +03:00
Paul Sokolovsky
d120749191
urequests: Add support for HTTPS.
2016-05-31 00:46:45 +03:00
Paul Sokolovsky
f26ac0ddb9
urllib.urequest: Release 0.4.
2016-05-30 21:34:39 +03:00
Paul Sokolovsky
880c6a7011
urllib.urequest: Add support for HTTPS.
2016-05-30 21:24:41 +03:00
Paul Sokolovsky
a85b23058e
upysh: Add mkdir, newfile commands.
2016-05-30 21:07:49 +03:00
Paul Sokolovsky
74d90076fc
upysh: Add metadata.
2016-05-29 01:07:57 +03:00
Paul Sokolovsky
6032b01ceb
upysh: Minimalistic file shell using native Python syntax.
...
E.g. cat("file") is equivalent of Unix shell's 'cat file'. With some tricks
though makes pwd and ls work without parens.
2016-05-29 01:06:29 +03:00
Paul Sokolovsky
f3683b1d30
upip: Release 0.7.
2016-05-28 02:56:53 +03:00
Paul Sokolovsky
8bb8b59dc3
upip: Add installation path hints to usage message.
2016-05-28 02:56:31 +03:00
Paul Sokolovsky
d6f91563e6
upip: Use uerrno module, drop errno dependency.
...
uerrno is a recently added builtin module.
2016-05-28 02:56:11 +03:00
Paul Sokolovsky
f64570ba71
uasyncio.core: Release 0.9.1.
2016-05-28 02:38:03 +03:00
Paul Sokolovsky
e6ca37faa8
uasyncio.core: async() was renamed to ensure_future() upstream.
...
The old name is deprecated since CPyton 3.4.4. That's great relief, because
CPython has special parser hacks to support both 3.5-style "async" keyword,
and still allow it be used as an identifier in other contexts. MicroPython
lacks such hacks, so "async" is SyntaxError as a function name with the latest
versions which implement async keyword.
2016-05-28 02:36:41 +03:00
Paul Sokolovsky
6cd414e0b5
upip: Print warning about not validatng PyPI SSL certificate.
...
Suggested by upstream (CPython).
2016-05-27 00:27:28 +03:00
Paul Sokolovsky
2af1194b71
urllib.urequest: Release 0.3.2.
2016-05-25 00:06:40 +03:00
Paul Sokolovsky
413bebf6c8
urllib.urequest: Support explicit port number in a URL.
2016-05-25 00:05:10 +03:00
Paul Sokolovsky
d711719af6
urequests: Release 0.2.1.
2016-05-22 01:51:17 +03:00
Gary Bake
7862b6df44
urequests: Support explicit port number in a URL.
2016-05-22 01:49:52 +03:00
Paul Sokolovsky
7d211421cb
os: Release 0.4.2.
2016-05-22 01:40:39 +03:00
palaviv
1c5936e19e
os: Update walk() to use ilistdir().
2016-05-22 01:38:47 +03:00
Paul Sokolovsky
07da5583d5
pystone_lowmem: Release 3.4.2-2.
2016-05-10 00:42:25 +03:00
Paul Sokolovsky
cdff8ff7c6
pystone_lowmem: Lower default loop numbers to 500 (100 times less than was).
...
On 80MHz RISC system, that runs in ~2s. So, even on a 10MHz system, random
run should not make user wonder if a system hanged. Of course, for more
precise measurement, more loops should be used, e.g.:
pystone_lowmem.main(1000)
2016-05-10 00:22:24 +03:00
Paul Sokolovsky
8e8a574aac
pystone_lowmem: Use integer arithmetic for time calculation.
...
So, now will also run on ports without floating point.
2016-05-10 00:21:45 +03:00
Paul Sokolovsky
4e3168eae7
urequests: Release 0.2.
2016-05-03 16:23:49 +03:00
Paul Sokolovsky
f9c2f63ada
urequests: request(): Add "json" param from Requests 2.4.2.
...
Allow to pass data to be JSON-encoded automatically.
2016-05-03 16:23:02 +03:00