pwtools
[3,3,3] -> “ 3 3 3 0 0 0” Useful for pwscf input files, card K_POINTS.
lst (sequence (3,))
shift (sequence (3,), optional)