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
Paul Sokolovsky
901456fce4
collections: Release 0.1.1.
2016-05-02 14:08:42 +03:00
Paul Sokolovsky
099ec33b1c
collections: Update for underlying module renaming to "ucollections".
2016-05-02 14:08:42 +03:00
Paul Sokolovsky
7669c52adb
argparse: Release 0.3.2.
2016-05-02 14:08:42 +03:00
Paul Sokolovsky
a55bc676f6
argparse: Update for _collections renamed to ucollections.
2016-05-02 14:08:42 +03:00
Paul Sokolovsky
1ecffa068e
io: Release 0.0.2.
2016-05-02 14:08:42 +03:00
Paul Sokolovsky
092a535b44
io: Update for underlying module renaming to "uio".
2016-05-02 14:08:42 +03:00
Paul Sokolovsky
8f57ad34d2
urllib.urequest: Release 0.3.1.
2016-04-16 21:34:22 +03:00
Paul Sokolovsky
8506e36466
urllib.urequest: PEP8 fix.
2016-04-16 21:30:54 +03:00
Paul Sokolovsky
99c7b546d1
socket: Release 0.5.1.
2016-04-16 21:24:42 +03:00
Christopher Arndt
21a3dab221
socket: Add sendto method to socket class
2016-04-16 21:21:33 +03:00
Paul Sokolovsky
ee49bab877
urllib.urequest: Support arbitrary HTTP methods on urlopen() level.
...
This is extension to CPython (CPython does this via Request class).
2016-03-14 09:49:16 +07:00
Paul Sokolovsky
44c5ed37f7
urequests: Add metadata.
2016-03-12 00:27:30 +07:00
Paul Sokolovsky
ae525eac87
urequests: Initial version of micro-requests.
...
The idea is to provide some subset of interface of Requests
(python-requests.org).
2016-03-07 14:34:03 +07:00
Paul Sokolovsky
dbe34bf34d
urllib.urequest: Release 0.2.
2016-03-02 22:55:30 +02:00
Paul Sokolovsky
9ca12f5ca2
urllib.urequest: Support POST method (when data param isn't None).
2016-03-02 22:54:46 +02:00
Paul Sokolovsky
c9b6eafcb7
os: Re-export stat() from uos module.
2016-02-28 14:14:30 +02:00
Paul Sokolovsky
0fef3f2f67
email.utils: Switch to CPython based version scheme.
2016-02-26 10:08:48 +02:00
Paulus Schoutsen
a479a5eb19
email.utils: fix urllib.parse dependency
2016-02-26 10:05:31 +02:00
Paul Sokolovsky
45070229f0
pystone_lowmem: Add metadata.
2016-02-15 12:17:22 +02:00
Paul Sokolovsky
6f10230648
pystone_lowmem: Use utime.ticks_ms() for better granularity.
...
utime.time() is integer (i.e. 1-second resolution) on many embedded ports.
2016-02-15 12:17:21 +02:00
Paul Sokolovsky
f6937ebb47
pystone_lowmem: Work arrays of size 25 instead of 51.
...
There're 2 arrays - one dimensional of 25 elements, and 2-dimensional
of 25x25 elements. Number of iterations stays the same, it's just
consecutive iterations may access the same array elements. So, while
the result of calculations may differ, the timing should stay about the
same (well, lowmem version will be a bit slower, as array index division
by 2 is used in several places).
2016-02-15 12:17:21 +02:00
Paul Sokolovsky
28de12557b
pystone_lowmem: Pystone version for small heap systems.
...
Start with exact copy of pystone.py from micropython-lib (which is pristine
upstream version, just importing from "utime" module instead of "time").
2016-02-15 12:17:21 +02:00
Paul Sokolovsky
f77f8cd1d4
string: Add test_translate.py
2016-02-03 00:24:36 +02:00
Paul Sokolovsky
b6c96e1d22
logging: Release 0.1.2.
2016-01-31 01:59:44 +02:00
Paul Sokolovsky
7a52c9c3ac
logging: Rename example per the latest conventions.
2016-01-31 01:58:56 +02:00
Paul Sokolovsky
fbbc3674b4
logging: basicConfig(): Implement "stream" argument.
2016-01-29 23:45:36 +02:00
Paul Sokolovsky
70e497bc73
socket: Release 0.5.
2016-01-28 18:55:27 +02:00
Paul Sokolovsky
ff7e55e633
socket: Support IPv6 addresses.
2016-01-28 18:54:30 +02:00
Paul Sokolovsky
b7ff1c0664
os: Add example_open.py.
2016-01-24 01:27:01 +02:00