Restricted Lightweight Python Implementation