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 [1], EXISTS, HMSET, HINCRBY, HLEN and HGETALL.

Footnotes

[1]Just required for looking up the database-size (not used by MarkovPy)