# pikasTech/PikaPython

An ultra-lightweight Python interpreter that runs with only 4KB of RAM, zero dependencies. It is ready to use out of the box without any configuration required and easy to extend with C. Similar project: MicroPython, JerryScript.

Repository: https://github.com/pikasTech/PikaPython
Canonical: https://ross.abutalabs.com/products/pikapython
Homepage: http://pikapython.com/
Language: C
License: MIT
License Family: permissive
Topics: python, micropython, mcu, iot, language, microcontroller, stm32, esp32, esp8266, embedded, lua, luatos, rtthread
Last push: 2026-08-07T01:05:34+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 61, longevity 100
- inputs: {"age_days": 1857, "days_push": 27, "days_rel": 46, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1747, forks 169 (observed 2026-08-28T04:05:30.853200+00:00)

## What it is
PikaPython is an ultra-lightweight Python interpreter written in C that runs on microcontrollers with as little as 4KB of RAM and 64KB of flash, with zero dependencies. It supports Python 3 syntax, works out of the box, and can be easily extended with C modules on platforms like STM32, ESP32, and RT-Thread.

## Use cases
- run python scripts on a microcontroller with 4KB of RAM
- script an stm32 or esp32 device in python
- embed a python interpreter in an iot firmware
- alternative to micropython for low-memory mcus
- extend a python runtime with custom C modules
- prototype embedded hardware logic in python

## When to choose
- your MCU has very limited RAM or flash where MicroPython won't fit
- you want zero-dependency, out-of-the-box Python on embedded hardware
- you need easy C extension integration for native modules

## When to avoid
- you need the full CPython standard library or ecosystem
- you're targeting Linux/desktop/server environments with ample resources
- you need mature community support and extensive library compatibility like MicroPython offers

## Facets
- artifact type: library
- maturity: active
- function: interpreter, programming-language, embedded
- domain: embedded-systems, programming-languages, iot, hardware
- platform: embedded, iot, cross-platform, c
- tags: python-interpreter, micropython-alternative, microcontroller, ultra-lightweight, 4kb-ram, stm32, esp32, rt-thread, linux

## Member repositories
- pikasTech/PikaPython (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.853200+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:19:41.147219+00:00, confidence not recorded.
  - readme: https://github.com/pikasTech/PikaPython (fetched 2026-08-28T04:05:30.853200+00:00, sha 6f8e38bb5221)
  - homepage: http://pikapython.com/ (fetched 2026-08-29T11:06:57.375677+00:00, sha 11c541112151)
- Data as of 2026-08-30T08:39:29.467469+00:00.
