Skip to content
/ eris Public

So.. Imagine that you wanted to import python modules from a redis server...

License

Notifications You must be signed in to change notification settings

rossdylan/eris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I stumbled upon the fine bit of python that is kragniz/json-sempai and was struck with inspration. So I built a library that lets you import python packages from a redis server.

Example Use

Upload a python file to redis

$ cat some_module.py | redis-cli -x set some_module

Import it using Eris

import eris
import some_module

It supports packages as well

Create a module in redis

$ cat some_module/__init__.py | redis-cli -x set some_module.__init__
$ cat some_module/foo.py | redis-cli -x set some_module.foo
import eris
from some_module import foo

Notes

You probably shouldn't use this.

About

So.. Imagine that you wanted to import python modules from a redis server...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages