scoder/lupa
Lua in Python observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 93
- Release rhythm 55
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 130
- age_days: 5684
- days_rel: 140
- days_push: 47
- n_releases_24m: 6
Adoption not part of the score
1148 stars · 142 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Lupa embeds the Lua and LuaJIT runtimes into CPython via Cython, allowing Python code to execute and interoperate with Lua code. It supports multiple isolated Lua runtimes, coroutine bridging, and releases the GIL when calling into Lua.
Use cases
- embed lua scripts in a python application
- run fast luajit code from python for hot paths
- execute dynamic user-provided lua scripts
- bridge python and lua coroutines
- sandbox a lightweight scripting language inside python
When to choose
- you need a small, fast embedded scripting runtime in Python
- you want LuaJIT speed for computational code without writing C extensions
- you need bidirectional Python-Lua object iteration and coroutine support
When to avoid
- you only need to call Python from Lua rather than the reverse
- you need full Lua ecosystem batteries that Python already provides
- you want a pure-Python solution without compiled extensions
Facets
library · maturity active
interpreter programming-language concurrency programming-languages developer-tools performance python cross-platform lua luajit cython embedding scripting coroutines
2 sources
- readme: https://github.com/scoder/lupa · fetched 2026-08-28 · ab466beba8d8
- homepage: http://pypi.python.org/pypi/lupa · fetched 2026-08-29 · 4c99b8eef6d2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| scoder/lupa | main | 81 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem