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: 3126
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: 1090
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/
Awesome MicroPython list
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
Oftentimes more up to date docs than mainline - http://pycopy.readthedocs.io/

Online
mattyt
Posts: 142
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: 1090
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.
Awesome MicroPython list
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
Oftentimes more up to date docs than mainline - http://pycopy.readthedocs.io/

stlm
Posts: 1
Joined: Tue Feb 06, 2018 6:55 pm

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

Post by stlm » Wed Nov 07, 2018 7:23 am

I was wondering lately what the state of the micropython-lib is. The last commit in the master branch is from February this year. Is there a specific reason why there were no new commits this year? There are lot's of open PRs with new modules that could replace some of the empty placeholder modules which would be great. Please, don't get me wrong. I really appreciate all the effort that has been made to build up the micropython-lib and I like working with it. But I also think it is far from finished, especially with all the placeholders around and I would just like to know if it makes sense to contribute more modules or changes as a PR to this repository or if there is "something new" coming up in the future?

Kind Regards

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

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

Post by pfalcon » Thu Nov 22, 2018 5:09 am

micropython-lib is actively depeloped: https://github.com/pfalcon/micropython-lib
Awesome MicroPython list
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
Oftentimes more up to date docs than mainline - http://pycopy.readthedocs.io/

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

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

Post by pfalcon » Wed Nov 28, 2018 7:12 pm

pfalcon wrote:
Sat Oct 13, 2018 10:53 am
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):
Similar thing happened to "logging" module - extensions to it were recently contributed. Before merging them, the original logging state was capture as "ulogging".
Awesome MicroPython list
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
Oftentimes more up to date docs than mainline - http://pycopy.readthedocs.io/

Post Reply