Skip to content

Repository files navigation

This is a thing...

no, wait... is 3 things...

1. the extension "myextension" (for now)

It's a Jupyter Lab extension.

    jupyter labextension install .
    jlpm run build
    jlpm run watch

2. The redis server

Run the Docker

    docker run -p 6379:6379 -d redis

Run the Express server

    cd redis_server
    node server.js

3. The redis state module

    from redis_state import RedisState

    state = RedisState()

    # now you can do:
    state["foo"] = "bar"
    print(state["foo"])

TODO:

  • There is a bug with arrays...
state['dios'] = [
{
    "soy": "la",
    "objeto": False
},
{
    "soy": "el",
    "objeto": False
}
    
]
#...
state['dios'][0]['soy'] = "Los"

https://chatgpt.com/c/67e9f2b7-3574-8000-acc9-d108748bd71f

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages