科布纳特 简单的缓存使您的生活变得轻松 安装 pip install cobnut 快速开始 对于本教程,您必须安装redis作为依赖项 pip install cobnut[redis] 最简单的Cobnut设置如下所示: from cobnut import Cobnut , RedisModel cobnut = Cobnut ( redis_connection = RedisModel ( host = "localhost" )) cobnut . set ( key = 'mykey' , data = 'mydata' ) cobnut . get ( key = 'myk