Micropython-Fourier as upip package? / Upip in general

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.
Post Reply
hdsjulian
Posts: 31
Joined: Mon Dec 03, 2018 8:29 pm

Micropython-Fourier as upip package? / Upip in general

Post by hdsjulian » Sun Dec 09, 2018 11:57 pm

I want to work with some FFTs and found the micropython-fourier library https://github.com/peterhinch/micropython-fourier

before i clone the repo and copy all the files to my esp32 individually: is there a upip-package? If so: what is it called? if not: any ideas how to create it?
Bonus question: is there a list of all packages that are available via upip?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Micropython-Fourier as upip package? / Upip in general

Post by pythoncoder » Mon Dec 10, 2018 7:57 am

It is not on PyPi. Nor will it run on the ESP32 as it is written in ARM assembler. The library is strictly for STM devices such as the Pyboard.

I'm not aware of an index for PyPi but packages on there are generally prefixed micropython. Many user-contributed drivers are not on PyPi. The best way to find them is by a forum search and by looking in the wiki.
Peter Hinch
Index to my micropython libraries.

hdsjulian
Posts: 31
Joined: Mon Dec 03, 2018 8:29 pm

Re: Micropython-Fourier as upip package? / Upip in general

Post by hdsjulian » Mon Dec 10, 2018 10:01 am

thanks. are you aware of any other fft library for esp32 micropython?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Micropython-Fourier as upip package? / Upip in general

Post by pythoncoder » Tue Dec 11, 2018 5:42 am

No. You could use one of the Python routines in algorithms.py in my repo, but even the "fast" non-recursive one will be ~100 times slower than one written in assembler.
Peter Hinch
Index to my micropython libraries.

Post Reply