micropython-lib VS pycopy

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

micropython-lib

Core Python libraries ported to MicroPython (by micropython)

pycopy

Pycopy - a minimalist and memory-efficient Python dialect. Good for desktop, cloud, constrained systems, microcontrollers, and just everything. (by pfalcon)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
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
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

Posts with mentions or reviews of pycopy. 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
    Both project page (https://github.com/pfalcon/pycopy), and title of this post say what it is "minimalist and memory-efficient Python dialect".
    8 projects | /r/Python | 21 Mar 2021
    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.
    8 projects | /r/Python | 21 Mar 2021
    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/ .
    8 projects | /r/Python | 21 Mar 2021
    2 projects | /r/ProgrammingLanguages | 21 Mar 2021
  • Pycopy 3.5.2 - a minimalist and memory-efficient Python dialect
    2 projects | /r/ProgrammingLanguages | 11 Feb 2021
    Really? Here's direct link to the closest subsection header: https://github.com/pfalcon/pycopy/#the-unix-version , and quoting it here for you:
    2 projects | /r/ProgrammingLanguages | 11 Feb 2021
  • Pycopy 3.5.0 - a minimalist and memory-efficient Python dialect
    5 projects | /r/ProgrammingLanguages | 1 Jan 2021
    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)
    5 projects | /r/ProgrammingLanguages | 1 Jan 2021
    There's also a ticket with more details on specific points: https://github.com/pfalcon/pycopy/issues/45
    5 projects | /r/ProgrammingLanguages | 1 Jan 2021

What are some alternatives?

When comparing micropython-lib and pycopy 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

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