-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support LUA scripting #25
Comments
I agree that it would be great to have Lua support. I've been thinking about how to best accomplish this. Unfortunately, I had trouble installing the official lunatic-python package and it seem like it doesn't support lua 5.1, but I'm looking into other alternative approaches. I've had success with some of the other lunatic-python forks though so maybe that's the best approach. |
fakeredis 0.10.1 has some scripting support ( |
FYI all, to get Lua support, you need to install it like:
Documentation should be updated.. |
Good point. I've updated the README on the 1.0 branch. It'll appear in the README when I release 1.0, which should be quite soon. |
Great, waiting for it. This has been a good drop-in replacement for |
I've opened a PR for |
cjson is not supported :(
|
It would be nice if fakeredis supported LUA scripts like redis does. LUA bindings for python are available so it might not be that hard - never used them though.
Why would it be useful? Well, chances are good that the usage of lua scripts means there is some more complex logic involved that cannot be easily done with simply redis commands. Chances are good that this logic should be well-tested and thus having lua support in fakeredis would be helpful.
The text was updated successfully, but these errors were encountered: