- 授权协议: BSD
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/mikeboers/PyMemoize
- 软件文档: https://github.com/mikeboers/PyMemoize
软件介绍
PyMemoize 是一个相对简单的 Python 缓存模块,可以用来存储任意的类 dict 的数据。
示例代码:
# Make a store.
store = {}
# Initialize the cache object.
from memoize import Memoizer
memo = Memoizer(store)
memo.exists('basic')
# return > True
memo.delete('basic')
memo.exists('basic')
# return > False
memo.get('basic', basic_func)
# stdout > called
# return > 123
Impractical Python Projects
Lee Vaughan / No Starch Press / 2018-11 / USD 29.95
Impractical Python Projects picks up where the complete beginner books leave off, expanding on existing concepts and introducing new tools that you’ll use every day. And to keep things interesting, ea......一起来看看 《Impractical Python Projects》 这本书的介绍吧!
