Stancache has utilities for saving `pystan` fitted models to disk, such that the file name is unique given the stan model code & unique parameters passed in to fit the stan model. Stancache sets the default seed value for any model fit via config file, so that re-fitting models can be triggered by modifying the seed.
This avoids the expensive task of re-fitting the same model given identical inputs, and allows safe pickling/unpickling of model fit & compiled model code.