micropython-lib
pycopy
Our great sponsors
micropython-lib | pycopy | |
---|---|---|
20 | 14 | |
2,210 | 785 | |
1.7% | - | |
8.3 | 0.0 | |
7 days ago | about 2 months ago | |
Python | C | |
GNU General Public License v3.0 or later | MIT License |
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.
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.
pycopy
-
Pycopy 3.5.4 - a minimalist and memory-efficient Python dialect
Both project page (https://github.com/pfalcon/pycopy), and title of this post say what it is "minimalist and memory-efficient Python dialect".
Currently I'm personally more interested in Linux-based targets, binaries for x86 systems are provided with each release, e.g. https://github.com/pfalcon/pycopy/releases . I'd like to provide precompiled binaries for more architectures and devices, but have only so much free time. So again, I'm concentrating on developing source, and making sure it stays small, so it can be used even on small devices like esp8266 - and that let people use it on whatever devices/systems they like.
Oh, so you're interested to get 100 tomes of technical drawings for SpaceX? You may be out of luck with it, but with any open-source project you're in luck - source to answer all of your questions is right there ;-). https://github.com/pfalcon/pycopy in this case. There's also the testsuite which formally specifies everything Pycopy can do (coverage 97%): https://github.com/pfalcon/pycopy/tree/master/tests . Finally, the docs include the section on specific differences with CPython3.4: https://pycopy.readthedocs.io/en/latest/differences/index.html (but that's human-written, so definitely not complete). By the way, docs are 381 pages rendered as a PDF: https://pycopy.readthedocs.io/_/downloads/en/latest/pdf/ .
-
Pycopy 3.5.2 - a minimalist and memory-efficient Python dialect
Really? Here's direct link to the closest subsection header: https://github.com/pfalcon/pycopy/#the-unix-version , and quoting it here for you:
-
Pycopy 3.5.0 - a minimalist and memory-efficient Python dialect
https://github.com/pfalcon/pycopy/tree/v3.5.0 (if you prefer to drop people into the code, since the release URL does not contain release notes)
There's also a ticket with more details on specific points: https://github.com/pfalcon/pycopy/issues/45
What are some alternatives?
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
bleak - A cross platform Bluetooth Low Energy Client for Python using asyncio
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
awesome-micropython - A curated list of awesome MicroPython libraries, frameworks, software and resources.
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
TI_INA226_micropython - Micropython driver for Texas Instruments INA226 power measuring IC