spex library