An easy and very clean framework for storing data to the binary lammps format used in e.g. Ovito.