Add endure/persistence example for Python