panda.py: initial commit