The ldraw package provides facilities to allow users to create LDraw scene
descriptions using the Python_ programming language. Pieces are specified by
their positions, orientations and other properties in normal executable Python
scripts which are run to create model files.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.