# SNAPbuild¶

SNAPbuild is a cross-platform command-line tool that takes a SNAPpy script and compiles it into a SNAPpy image.

SNAPpy scripts are written in the subset of the Python programming language implemented by SNAPcore. These scripts control the behavior of a SNAP-enabled device. In order for these scripts to be loaded on a device, they must be compiled using information about the device. SNAPbuild uses the device’s type and SNAPcore firmware version as inputs when compiling the SNAPpy script (.py file) into a SNAPpy image (.spy file).

Topics