lupa
lupa copied to clipboard
Lua in Python
how can i import python modules from lua script?
I would like to be able to overwrite the behavior of the require function. I want to be able to manually provide the lua functions (preferably via a string rather...
running a script with `io.popen` results in error: ``` --------------------------------------------------------------------------- LuaError Traceback (most recent call last) Cell In[2], line 1 ----> 1 lll.LuaRuntime().eval('io.popen("ls")') File lupa/lua51.pyx:426, in lupa.lua51.LuaRuntime.eval() File lupa/lua51.pyx:1821, in...
ArchLinux, Python 3.10, Cython 3.0.10 (0.29.36 didn't got accepted) ``` Error compiling Cython file: ------------------------------------------------------------ ... args = cpython.tuple.PyTuple_New(length) lua.lua_pushnil(L) # nil (first key) while lua.lua_next(L, -2): # key value...
Hi, I'm trying to pass a python dictionary as an argument into a function defined in LUA code but it crashes without exception. The Lua function returns the first non-empty...
Hi there! `setup.py test` is no longer available and due to this package has not setuptools version pinned it brokes the installation. Removing the setup.py test command should work with...
1. Add Developer Command Prompt for Microsoft Visual C++. This enables compile all needed libraries and successfully build wheels for both `win_amd64` and `win32` targets. 2. Add test-command for windows...
Hello. I am porting a project currently made with Go and https://github.com/yuin/gopher-lua to Python and Lupa. The way the bridge between the host and the lua interpreter is very different...
I will impact building wheels for Mac. A brownout will take place on **November 4, 14:00 UTC - November 5, 00:00 UTC** to raise awareness of the upcoming **macOS-12** environment...
Hello, I need run local lua script (which I can't change)i.e. `c:\lua_stuff\some_proj\local.lua` I want use lupa. Can I pass file directly to lupa or use something like: ```python import lupa.luajit21...