Proxy pattern for python : 

quick and dirty prototype code