Stores
MarkovPy is using a modular approach for storage of the MarkovChain: Stores.
Stores should inherit from markov.stores.Store
Pickle
markov.stores.Pickle has no requirements other than read- and write-access to the filesystem.
Redis
markov.stores.Redis requires redis and a running redis(-compatible) server.
The store needs access to these commands: KEYS , EXISTS, HMSET, HINCRBY, HLEN and HGETALL.
Footnotes