Material module for Python