awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索Open-source alternativesSelf-hosted software博客网站地图
项目关于How we rank媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
awesome-repositories.com分类博客
micropython avatar

micropython/micropython-lib

0
View on GitHub↗

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Micropython Lib

micropython-lib is the official package repository for MicroPython, providing a collection of modules and libraries designed to run on microcontrollers and other constrained devices. It implements a reduced subset of CPython's standard library, adapting familiar Python interfaces to fit within the limited memory and processing power of embedded systems. The project enables developers to reuse existing Python knowledge on MicroPython hardware by offering minimalist implementations of core modules.

The library supports multiple methods for getting code onto devices, including copying single-file modules or directories directly to a device's lib folder, freezing packages into firmware binaries at compile time using manifest files, and installing packages over a network connection with the built-in mip package manager. For host-based workflows, the mpremote command-line tool can transfer packages from a computer to a connected MicroPython board. The repository also accommodates forked package sources, allowing installation from custom GitHub Pages URLs when alternative package indexes are needed.

Beyond the standard library, micropython-lib adapts select third-party Python packages for use in the MicroPython environment, extending the range of functionality available on constrained hardware. The project's packaging model distributes each module as a single .py file or a directory, simplifying manual copying and firmware freezing processes. Documentation covers installation via mip, mpremote, and firmware freezing, providing the essential surface for getting started with MicroPython package management.

Features

  • Minimalist Implementations - Implements a reduced subset of CPython's standard library for constrained microcontrollers.
  • Manifest-Based Freezings - Compiles Python source files into bytecode and links them directly into firmware using manifest files.
  • MicroPython Managers - Installs and manages Python packages on MicroPython devices using mip and mpremote tools.
  • On-Device App Stores - Downloads and installs packages from a repository directly onto a network-enabled MicroPython board at runtime.
  • On-Device Package Installations - Ships a built-in package manager for installing MicroPython packages directly onto network-enabled boards.
  • Repository-Based Package Installations - Installs MicroPython packages from a central repository using the built-in mip package manager on devices.
  • Package Freezings - Freezes Python packages directly into a firmware build by referencing their manifest files during compilation.
  • Python Freezings - Freezes Python packages into MicroPython firmware builds to include custom modules at compile time.
  • Cross-Platform Compatibility Layers - Adapts CPython module interfaces to MicroPython's constrained runtime for embedded systems.
  • Knowledge Reuses - Provides reduced-feature standard library implementations so developers reuse existing Python knowledge.
  • Microcontroller Ports - Ports core Python modules to run on MicroPython, enabling familiar coding patterns on constrained hardware.
  • Microcontroller Runtimes - Ports and adapts Python modules to run on microcontrollers with limited memory and processing power.
  • Cross-Platform Reuses - Enables reuse of existing Python knowledge on MicroPython through reduced standard library implementations.
  • MicroPython Adaptations - Adapts select third-party Python packages for use in MicroPython, extending functionality beyond the standard library.
  • Host-to-Device Module Copies - Copies Python source files from a host computer to a device's lib directory using mpremote.
  • Module Distributions - Distributes each module as a single .py file or directory for simplified copying and freezing.
  • Host-Based Installations - Installs a MicroPython package onto a connected device using the mpremote command-line tool.
  • Fork-Sourced Package Installations - Provides installation of MicroPython packages from forked repositories using custom index URLs.
  • Host-to-Device Package Installations - Provides a command-line tool for installing MicroPython packages from a host computer to a connected board.
  • Module Copies - Transfers a single-file or directory-based MicroPython module to a device by copying it to the lib folder.
  • Device Copies - Transfers single-file or directory-based MicroPython packages to a device by copying source files to the lib directory.
  • Module Transfers - Copies Python modules and packages to MicroPython devices via the lib folder for local execution.
  • Graphic LCD Drivers - Official driver for touch-enabled graphic displays.
  • 硬件驱动 - OneWire bus driver.
  • OLED Display Drivers - Official driver for SSD1306 OLEDs.
  • Sensor Drivers - Driver for DHT series temperature and humidity sensing.
2,755 星标·1,089 分支·Python·other·2 次浏览

Star 历史

micropython/micropython-lib 的 Star 历史图表micropython/micropython-lib 的 Star 历史图表

Micropython Lib 的开源替代方案

相似的开源项目,按与 Micropython Lib 的功能重合度排序。
  • micropython/micropythonmicropython 的头像

    micropython/micropython

    21,806在 GitHub 上查看↗

    MicroPython is a lean implementation of Python 3 optimized to run on microcontrollers and other resource-constrained systems. It serves as a cross-platform embedded runtime and hardware abstraction layer, providing a firmware framework that maps high-level software commands to specific microcontroller registers across diverse processor architectures. The project functions as an embedded language interpreter that enables rapid prototyping on hardware through an interactive read-eval-print loop. It supports a wide range of target environments, including ARM, ESP32, STM32, RISC-V, and WebAssembl

    Cembeddedmicrocontrollermicropython
    在 GitHub 上查看↗21,806
  • adafruit/circuitpythonadafruit 的头像

    adafruit/circuitpython

    4,521在 GitHub 上查看↗

    CircuitPython is a specialized derivative of the MicroPython runtime designed as an embedded Python interpreter for microcontrollers. It provides a high-level language environment that allows for direct hardware access through a dedicated hardware abstraction layer and a Python microcontroller runtime. The project is distinguished by firmware that exposes the microcontroller as a native USB mass storage device. This allows users to edit code directly on the device as if it were a removable drive, eliminating the need for specialized flashing tools and enabling filesystem-triggered code reload

    C
    在 GitHub 上查看↗4,521
  • francescopace/espectrefrancescopace 的头像

    francescopace/espectre

    6,472在 GitHub 上查看↗

    Espectre is an edge machine learning framework and motion detection platform that uses Wi-Fi Channel State Information to identify human presence and movement. It functions as a sensing toolkit for ESP32 microcontrollers, enabling the detection of motion through walls without the use of cameras or wearables. The project distinguishes itself by executing compact neural network classifiers and mathematical detection algorithms directly on the microcontroller. It utilizes a MicroPython runtime to allow for the prototyping and deployment of sensing logic and wireless signal processing algorithms

    Pythoncsidiyesp-32
    在 GitHub 上查看↗6,472
  • tencent/hippyTencent 的头像

    Tencent/Hippy

    8,533在 GitHub 上查看↗

    Hippy is a cross-platform mobile framework that enables building applications for iOS, Android, and Web from a single codebase using web development technologies. It functions as a dynamic app framework, supporting runtime code updates and dynamic content delivery across platforms, and connects JavaScript application logic with native platform APIs through a JavaScript bridge. The framework distinguishes itself through its bridge-based native rendering approach, which serializes UI updates over a JSON message bus to a native host that maintains the real view hierarchy. It employs a component-

    C++androidcross-platformfrontend
    在 GitHub 上查看↗8,533
查看 Micropython Lib 的所有 30 个替代方案→

Frequently asked questions

What does micropython/micropython-lib do?

micropython-lib is the official package repository for MicroPython, providing a collection of modules and libraries designed to run on microcontrollers and other constrained devices. It implements a reduced subset of CPython's standard library, adapting familiar Python interfaces to fit within the limited memory and processing power of embedded systems. The project enables developers to reuse existing Python knowledge on MicroPython hardware by offering minimalist…

What are the main features of micropython/micropython-lib?

The main features of micropython/micropython-lib are: Minimalist Implementations, Manifest-Based Freezings, MicroPython Managers, On-Device App Stores, On-Device Package Installations, Repository-Based Package Installations, Package Freezings, Python Freezings.

What are some open-source alternatives to micropython/micropython-lib?

Open-source alternatives to micropython/micropython-lib include: micropython/micropython — MicroPython is a lean implementation of Python 3 optimized to run on microcontrollers and other resource-constrained… adafruit/circuitpython — CircuitPython is a specialized derivative of the MicroPython runtime designed as an embedded Python interpreter for… francescopace/espectre — Espectre is an edge machine learning framework and motion detection platform that uses Wi-Fi Channel State Information… tencent/hippy — Hippy is a cross-platform mobile framework that enables building applications for iOS, Android, and Web from a single… brucedevices/firmware — This firmware transforms an ESP32 device into a portable penetration testing platform by combining an embedded… olikraus/u8g2 — u8g2 is a monochrome display driver library written in C and C++ for rendering graphics and text on OLED and LCD…