Search found 53 matches

by aivarannamaa
Sun Aug 09, 2020 6:32 am
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 885

Re: pypi.org/pypi vs micropython.org/pi

I can think of another upip/micropip enhancement, which would allow making Thonny's micropip GUI more user-friendly. Currently it is not possible to reliably link installed modules to a distribution package. Also, the user has to remember the version number of the installed package as the metadata i...
by aivarannamaa
Sun Aug 09, 2020 5:01 am
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 885

Re: pypi.org/pypi vs micropython.org/pi

Thought it might be worth highlighting #358 since it adds version specifiers (from PEP440 and PEP508 to upip. But it was submitted against the older micropython-lib upip rather than the micropython upip. If you think it'd be useful for your use I can take a closer look at tidying up that PR... I be...
by aivarannamaa
Sat Aug 08, 2020 4:48 pm
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 885

Re: pypi.org/pypi vs micropython.org/pi

Here is my take on MicroPython GUI for micropip.py. With CPython the user can browse distribution packages, but since metadata is lost with MicroPython, the dialog allows browsing top-level modules from [path for path in sys.path if 'lib' in path] instead: browse.png The search function brings "micr...
by aivarannamaa
Fri Aug 07, 2020 5:03 am
Forum: General Discussion and Questions
Topic: help('modules') and sys.modules
Replies: 4
Views: 120

Re: help('modules') and sys.modules

In CPython sys.modules contains only modules in memory, ie. imported modules. I suppose it's the same with MicroPython.
by aivarannamaa
Thu Aug 06, 2020 9:16 am
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 885

Re: pypi.org/pypi vs micropython.org/pi

The confusion has arisen because micropython-lib repositories on PyPi are owned by an independent individual with his own fork of MicroPython. I see. I thought that after pfalcon started to use "pycopy-" prefix, the ownership of "micropython-" PyPI packages was transferred to https://github.com/mic...
by aivarannamaa
Wed Aug 05, 2020 3:50 pm
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 885

Re: pypi.org/pypi vs micropython.org/pi

There doubtless will be instances where code on PyPi is current. However there are definitely instances of code requiring a specific MicroPython fork. This was causing mayhem and I pushed for a closed archive for officially supported code, with corresponding changes to upip . I read about this conf...
by aivarannamaa
Tue Aug 04, 2020 2:19 pm
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 885

Re: pypi.org/pypi vs micropython.org/pi

Let's take the example I started the thread with: micropython-os . micropython.org/pi has version 0.6 of it. Latest version on PyPI is 0.8, but there is 0.6 as well. I now compared the contents of both version 0.6 distributions and found that they have identical Python code and minor changes in meta...
by aivarannamaa
Tue Aug 04, 2020 11:39 am
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 885

Re: pypi.org/pypi vs micropython.org/pi

If micropython.org/pi has a package with a version, then does it correspond to the package with the same name and version on PyPI? Can micropython.org/pi contain a package or a version of a package which is not present on PyPI? I'm planning to extend Thonny 's pip GUI to support MicroPython. Current...
by aivarannamaa
Wed Jul 29, 2020 8:51 pm
Forum: Programs, Libraries and Tools
Topic: PyPi and upip
Replies: 5
Views: 485

Re: PyPi and upip

Thanks, Peter! I already found micropip and it looks like a good solution!
by aivarannamaa
Tue Jul 28, 2020 7:21 am
Forum: Programs, Libraries and Tools
Topic: pypi.org/pypi vs micropython.org/pi
Replies: 18
Views: 885

pypi.org/pypi vs micropython.org/pi

Is the purpose of `https://micropython.org/pi/___/json` simply to provide leaner metadata json, compared to `https://pypi.org/pypi/___/json`?

I noticed that `micropython-os` is 0.8 in PyPI but 0.6 in micropython.org/pi. Is this on puropose?