/Husky

Advanced Pickler For More Python Objects

Primary LanguagePython

Husky

An Advanced serializing library for python, like pickle, but can dump more, for example, functions.

Install

$ pip install Husky

Usage

def foo():
    return bar()
    
def bar():
    return "ok"

bytes = dumps(foo)
f = loads(bytes)

f()