observer pattern sample python implementation example description python code facade pattern sample python implementation example description python code mediator pattern sample python implementation example description python code factory pattern sample python implementation example description python code proxy pattern sample python implementation example description python code refernces and further reading www testingperspective com