Lupa
Python wrapper around Lua and LuaJIT for embedded scripting.
Languages, types and runtimes PyPI MIT style
How Lupa is used
Lupa joined the catalog on its public numbers (5,987,457 downloads a week on PyPI and 1,159 GitHub stars), not on our project count: it is a dependency in 10 public GitHub projects of our scan, 1 of them set up for AI coding agents. The most used alternative in our scan is Cython (4 projects). Projects that use it most often also use Click (90.0%), Cyclopts (90.0%), fakeredis (90.0%).
Lupa popularity over time
Gid Score 45: downloads 80, use in agent projects 17, GitHub stars 14, downloads trend 62 (each 0-100). How it is calculated.
Often used with Lupa
| Click | 90.0% of Lupa projects · 36.0× more than average |
|---|---|
| Cyclopts | 90.0% of Lupa projects · 620.8× more than average |
| fakeredis | 90.0% of Lupa projects · 1396.8× more than average |
| FastMCP (Python) | 90.0% of Lupa projects · 32.5× more than average |
| jsonschema | 90.0% of Lupa projects · 55.3× more than average |
| Model Context Protocol SDK (Python) | 90.0% of Lupa projects · 11.2× more than average |
| OpenTelemetry API | 90.0% of Lupa projects · 99.8× more than average |
| Pydantic | 90.0% of Lupa projects · 10.4× more than average |
How Lupa is funded
GitHub Sponsors
| @scoder | 23 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes lxml, Cython, fastrlock.
Ways to fund Lupa
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | pip install lupa |
|---|---|
| Main stacks | Python (10) |
| Example projects | digitranslab/allama, lvshrd/factorio-agent |
Alternatives to Lupa
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Lupa are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Cython pypi Compiles Python to C for performance-critical code and C extensions. |
67 | 4 (0.2%) | 20.3M | 10.9K | Apache-2.0 |
More in Languages, types and runtimes: TypeScript tsx ts-node jiti vue-tsc Cloudflare Workers Types mypy tsconfig-paths