pocketpy/pocketpy
Portable Python 3.x Interpreter in Modern C for Game Scripting observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 63
- Longevity 99
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 42
- age_days: 1396
- days_rel: 168
- days_push: 8
- n_releases_24m: 12
Adoption not part of the score
2110 stars · 218 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pocketpy is a portable Python 3.x interpreter written in C11 with no dependencies beyond the C standard library, designed as a Lua alternative for game scripting. It can be embedded into C/C++ projects via a C-API or pybind11-compatible bindings and runs on platforms from desktop to mobile and embedded devices.
Use cases
- embed a python interpreter in a c++ game engine
- lua alternative for game scripting
- run python scripts on embedded devices
- scripting engine for godot or raylib
- run python in the browser via wasm
- add user scripting to a flutter app
When to choose
- you need Python syntax for scripting in a C/C++ application without a full CPython dependency
- you want a lightweight, header-only interpreter that runs on constrained or unusual platforms
- you're replacing Lua with something more expressive in a game engine
When to avoid
- you need full CPython compatibility, the standard library, or third-party Python packages
- you need maximum performance for compute-heavy workloads
- you only need scripting on standard desktop/server environments where CPython is fine
Facets
cli-tool · maturity active
interpreter programming-language embedded programming-languages embedded-systems developer-tools cpp c cross-platform wasm game-engine embedded windows python-interpreter game-scripting lua-alternative header-only c11 scripting-language vm embeddable interpreter game-development android ios linux macos
2 sources
- readme: https://github.com/pocketpy/pocketpy · fetched 2026-08-28 · 01483370c0d9
- homepage: https://pocketpy.dev/ · fetched 2026-08-29 · 8df9599e2384
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pocketpy/pocketpy | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="pocketpy/pocketpy")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem