micropython-lib VS pycopy-lib

Compare micropython-lib vs pycopy-lib and see what are their differences.

micropython-lib

Core Python libraries ported to MicroPython (by micropython)

pycopy-lib

Standard library of the Pycopy project, minimalist and light-weight Python language implementation (by pfalcon)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
micropython-lib pycopy-lib
20 7
2,229 239
1.4% -
8.3 6.2
8 days ago 6 months ago
Python Python
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of micropython-lib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-22.
  • OSError: [Errno 12] ENOMEM
    2 projects | /r/raspberrypipico | 22 Apr 2023
  • 在 MicroPython 中使用 OpenAI API
    2 projects | dev.to | 13 Apr 2023
  • EsPiFF: An ESP32 in the Raspberry Pi form factor
    4 projects | news.ycombinator.com | 18 Dec 2022
    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?
    2 projects | /r/raspberrypipico | 30 Nov 2022
    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.
    2 projects | /r/raspberrypipico | 30 Nov 2022
    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?
    3 projects | /r/embedded | 7 Nov 2022
    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
    3 projects | /r/raspberrypipico | 15 Oct 2022
    All drivers were moved to micropython-lib: https://github.com/micropython/micropython-lib/tree/master/micropython/drivers
  • ESP32 Python BLE example
    2 projects | /r/esp32 | 19 Feb 2022
    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
    2 projects | /r/MicroPythonDev | 16 Apr 2021
    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
    8 projects | /r/Python | 21 Mar 2021
    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-lib

Posts with mentions or reviews of pycopy-lib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-21.
  • Pycopy 3.5.4 - a minimalist and memory-efficient Python dialect
    8 projects | /r/Python | 21 Mar 2021
    A subset, micro-requests (or urequests, where u is a common latin stand-in for greek "mu" (i.e. micro) letter) is implemented: https://github.com/pfalcon/pycopy-lib/tree/master/urequests
    8 projects | /r/Python | 21 Mar 2021
    So, unlike MicroPython itself, which was started by another guy, micropython-lib was started and largely done by me (but initially contributed it to the micropython project, yeah). I continue that work in https://github.com/pfalcon/pycopy-lib
    2 projects | /r/ProgrammingLanguages | 21 Mar 2021
    In this version, improvements in native types subclassing support. Pycopy standard library, https://github.com/pfalcon/pycopy-lib, also sees further development and improvements.
  • Pycopy 350 A Minimalist And Memoryefficient
    3 projects | /r/Python | 1 Jan 2021
    As usual, this lightweight import hook API is backported to CPython: https://github.com/pfalcon/pycopy-lib/blob/master/cpython-pycopy/pycopy_imphook.py
    3 projects | /r/Python | 1 Jan 2021
    Plug pure-Python bytecode (or JIT) compiler: https://github.com/pfalcon/pycopy-lib/tree/master/ucompiler (prototype/WIP)
  • Pycopy 3.5.0 - a minimalist and memory-efficient Python dialect
    5 projects | /r/ProgrammingLanguages | 1 Jan 2021
    Plug pure-Python bytecode (or JIT) compiler: https://github.com/pfalcon/pycopy-lib/tree/master/ucompiler (prototype/WIP)
  • Bootstrapping Case Studies
    5 projects | /r/ProgrammingLanguages | 26 Dec 2020
    Thanks. Except it's not mine, but CPython2's stdlib module (written by many people) ported to Python3.5. What's mine is Pycopy stdlib ucompiler module: https://github.com/pfalcon/pycopy-lib/tree/master/ucompiler, written by me from scratch based on the experience with CPython2's module (I figured I'd have better time writing one from scratch than cleaning up CPython2's module).

What are some alternatives?

When comparing micropython-lib and pycopy-lib you can also consider the following projects:

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

trezor-firmware - :lock: Trezor Firmware Monorepo

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

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.

TI_INA226_micropython - Micropython driver for Texas Instruments INA226 power measuring IC

micropython-bmp280 - module for the BMP280 sensor

RP2040-HAT-MicroPython