API 总览
模块包源码
本扩展为Plotly-Dash和Flask、提供了便捷的数据缓存实现,用以将缓存数据推送到客户端。
上图展示了整个模块的大体结构。其中,核心功能包括:诸如CachePlain
的缓存类、用以提供服务的工厂类ServiceData
,以及Downloader
组件。
模块
成员 | |
---|---|
caches | 缓存的实现。 |
services | Flask服务。 |
components | 本模块包提供的额外组件。 |
utilities | 用来处理文件和请求的共用工具。 |
别名
成员 | |
---|---|
CachePlain | dfc.caches.memory.CachePlain |
CacheQueue | dfc.caches.memory.CacheQueue |
CacheFile | dfc.caches.tempfile.CacheFile |
ServiceData | dfc.services.data.ServiceData |
Downloader | dfc.components.downloader.Downloader |