首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 全状态-简约的基于内存的酸数据

全状态-简约的基于内存的酸数据

  • 资源大小:5.82 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 基于 数据 内存 状态 简约

资 源 简 介

Fullstate is very small implementation of prevayler-like (or Pypersyst) memory bassed state machine written for Python 3. It has snapshots, commands and memory data structure. It tries to be very pythonic, so you can use any data which can be pickled. All modifications to data must be deterministic and made by commands. It means that when commands are run again, it produces exactly the same state than in first place. To get it work, it means that you must create all data as attributes of command and when executing command (run method of command), it uses only these attributes to do modifications. So all random numbers, clock times etc must be done when creating command object. When pickled from disk, it has all that data already as values.

文 件 列 表

fullstate-0.1
fullstate
PKG-INFO
setup.py
VIP VIP
0.228170s