NBTW Calculation of the number of non-backtracking walks (NBTWs) for simple graphs in Python. Usage: import nbtw nbtw.get_nbtws(A,k) (A = adjacency matrix, k = walk length)