awesome-micropython
micropython-lib
Our great sponsors
awesome-micropython | micropython-lib | |
---|---|---|
13 | 20 | |
1,189 | 2,224 | |
- | 1.7% | |
8.9 | 8.3 | |
1 day ago | about 19 hours ago | |
HTML | Python | |
Creative Commons Zero v1.0 Universal | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awesome-micropython
-
CAN Bus with MicroPython
https://awesome-micropython.com lists a couple of MCP2515 drivers. I wrote my own but it's embedded in another library and uses asyncio so it wouldn't help you much. Or you could port one of the many Arduino drivers. It's really just reading and writing chip registers over SPI.
- MicroPython officially becomes part of the Arduino ecosystem
-
Can someone explain this micropython code to me? I don't understand object-oriented programming.
I see that this library is listed on the MicroPython Awesome List. There are other MPU6050 libs listed there; I'd consider one of the others. I'll try and find time to raise a pull request to this library to tidy it up a little.
-
MicroPython: EuroPython 2022, Arduino, PyScript, and more! 🎁
Arduino currently offer MicroPython firmwares for their Nano 33 BLE and BLE Sense, the Nano RP2040 Connect, and Portenta H7 board - so it is important to note that you're not about to be running MicroPython on an Arduino Uno - but given the range of available libraries for the language and the relative ease of learning, it is exciting to see even further adoption.
-
Can MicroPython be used in production?
Do give it another try if you get a chance; I'd be genuinely interested in hearing about your experience. Be sure to check out the awesome list and micropython-lib if you're looking to fill gaps. There are still many holes but they're rapidly being filled in.
-
Getting past the basics: Libraries, connecting devices, etc
The problem is, everything I can find on using MicroPython on esp32 goes about that far... and stops. I have a lot of questions as an advanced Arduino user, like how to use libraries, especially for accessing devices. In my particular case, I want to hook up an ILI9488 TFT display, temperature/humidity sensor etc, but I can't find any references to that. I found https://awesome-micropython.com/ but even that has a list of random libraries and no explanation of how to install/use/manage libraries. http://docs.micropython.org/en/latest/library/index.html also only talks about the libraries that come with MicroPython.
-
new, how to learn?
Here's a list of some other interesting libraries: https://github.com/mcauser/awesome-micropython
micropython-lib
- OSError: [Errno 12] ENOMEM
- 在 MicroPython 中使用 OpenAI API
-
EsPiFF: An ESP32 in the Raspberry Pi form factor
Using SD-card on ESP8266 was more challenging. upip.install('sdcard') does not work.
But ChatGPT truly helped and suggested I find it in Github.
https://github.com/micropython/micropython-lib/blob/master/m...
-
using UPip with Micropython to install extra modules - is it feasible?
I don't think there's a mip list command or something like that. So your best bet is to look at the subdirectories in https://github.com/micropython/micropython-lib for a list of installable packages.
Note that mip installs packages from the https://github.com/micropython/micropython-lib repository, which are specifically developed for MicroPython, and I have been using it successfully to install packages like umqtt.simple on a Raspberry Pi Pico W. You can also point mip to sources on GitHub, but this definitely won't work with any random Python package, such as pandas or scikit-learn. MicroPython is just a subset of the full Python.
-
Can MicroPython be used in production?
Do give it another try if you get a chance; I'd be genuinely interested in hearing about your experience. Be sure to check out the awesome list and micropython-lib if you're looking to fill gaps. There are still many holes but they're rapidly being filled in.
-
Error 404 on Github
All drivers were moved to micropython-lib: https://github.com/micropython/micropython-lib/tree/master/micropython/drivers
-
ESP32 Python BLE example
B(LE) support in MicroPython has been a bit lacking but more support is being added especially since 1.17. I don't have experience with the new lib so all I can say is that you should probably look into aioble library. It's a wrapper over bluetooth library and there are some examples to get you started.
-
Mqtt doesn't work on esp32 - help needed
I'm confused because google wasn't finding the mqtt in micropython-lib; https://github.com/micropython/micropython-lib because I was searching for mqtt and I forgot that its name is umqtt. The link I gave above is what google gave me but I knew it wasn't the one I was thinking of, the one in micropython-lib, but I sent it anyway. The one I found, above, seems like a better choice since it's been updated recently. The one in micropython-lib was last updated 3 years ago.
-
Pycopy 3.5.4 - a minimalist and memory-efficient Python dialect
With a fork / duplication in library work as well. Micropython-lib is incomplete and buggy enough as it is, why oh why do we need to split that work up with pycopy-lib as well.
What are some alternatives?
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
micropython-umqtt.simple2
buzzer_music - RPI Pico / Micropython library to play music through one or more buzzers, can automatically replace chords with fast arpeggios to simulate polyphony with a single buzzer. Music can be easily taken from onlinesequencer.net
pycopy-lib - Standard library of the Pycopy project, minimalist and light-weight Python language implementation
trezor-firmware - :lock: Trezor Firmware Monorepo
awesome-web-scraping - List of libraries, tools and APIs for web scraping and data processing.
bleak - A cross platform Bluetooth Low Energy Client for Python using asyncio
pycopy - Pycopy - a minimalist and memory-efficient Python dialect. Good for desktop, cloud, constrained systems, microcontrollers, and just everything.
picoweb - Really minimal web application framework for the Pycopy project (minimalist Python dialect) and its "uasyncio" async framework
micropython-ssd1327 - MicroPython driver for SSD1327 128x128 4-bit greyscale OLED displays
picotui - Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.
micropython-bmp280 - module for the BMP280 sensor