micropython-lib - "distributed" uPython standard library

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
User avatar
pythoncoder
Posts: 2980
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: micropython-lib - "distributed" uPython standard library

Post by pythoncoder » Sat Jan 20, 2018 11:50 am

pfalcon wrote:
Sun Jan 07, 2018 2:24 pm
The master repository of micropython-lib is now at https://github.com/pfalcon/micropython-lib . Some modules also require my fork of MicroPython, https://github.com/pfalcon/micropython , and there will be more such modules in the future. Majority of modules of course remain compatible with the upstream MicroPython.
I'm glad to see that the latest update to uasyncio has now propagated from your fork to micrropython-lib. I would be grateful if you or @Damien could clarify the situation about the relationship between your fork and the (erstwhile?) official library. I can't answer for anyone else, but I'm completely confused :?
Peter Hinch

pfalcon
Posts: 1056
Joined: Fri Feb 28, 2014 2:05 pm

Re: micropython-lib - "distributed" uPython standard library

Post by pfalcon » Mon Jul 09, 2018 9:32 am

For some time now, micropython-lib contains 3 different HTTP client modules. I wanted to add quick comparison/selection guide for them for a long time, and now I did: https://pypi.org/project/micropython-urllib.urequest/
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib

mattyt
Posts: 120
Joined: Mon Jan 23, 2017 6:39 am

Re: micropython-lib - "distributed" uPython standard library

Post by mattyt » Mon Jul 09, 2018 9:36 am

Your timing is impeccable - looking into the differences between these options was literally on my todo list for tonight! This is really helpful, thanks pfalcon!

pfalcon
Posts: 1056
Joined: Fri Feb 28, 2014 2:05 pm

Re: micropython-lib - "distributed" uPython standard library

Post by pfalcon » Sat Oct 13, 2018 10:53 am

pfalcon wrote:
Mon Jul 09, 2018 9:32 am
For some time now, micropython-lib contains 3 different HTTP client modules. I wanted to add quick comparison/selection guide for them for a long time, and now I did: https://pypi.org/project/micropython-urllib.urequest/
Ok, being spelled like that, it effectively opened road for [s]bloating up[/s] adding more features to "urequests". By now, it response header parsing by default (of course, can be disabled or overridden to save memory), processes redirects and works around some issues of non-compliant servers.

But there's pressure to add more and more [s]bloat[/s] features. Before giving up to that, I decided to snapshot the latest version of urequests, 0.8, as a new module uurequests (micro-urequests): https://pypi.org/project/micropython-uurequests/ . It may be useful to users of esp8266 and other low-memory systems.


To remind, the master micropython-lib repository is https://github.com/pfalcon/micropython-lib . Issues reports and patches adhering to Contributor Guidelines are welcome.
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib

Post Reply