I\'d like to pass object state between two Python programs (one is my own code running standalone, one is a Pyramid view), and different namespaces. Somewhat related questio
The easiest solution is to use cloudpickle:
https://github.com/cloudpipe/cloudpickle
It enabled me to easily send a pickled class file to another machine and unpickle it using cloudpickle again.