xfab is a python library for the totalcryst program with crystallographic computations inside. Mostly written by Henning Sorensen and Jette Oddershede at Riso.
The current homepage for xfab is at https://github.com/FABLE-3DXRD/xfab.
Some of the TIMEleSS tools rely on xfab for crystallography calculations.