In previous years when similar questions have been asked, importing general purpose libraries like numpy, numba, collections, math, time, re, itertools, string, random and matplotlib, etc. are fine but existing cipher cracking tools are not (the tools on this site are allowed, though)
A good rule of thumb is that shouldn’t be using anything that “imports your way to victory”. So that rules out libraries like pycipher, online solvers like dCode and templates written by other people rather than our own code. You can use those to learn how a cipher works or how an attack is structured, then build your own tool from that.
Hope that helps, but it’s always better to ask us so do let us know if there is anything you’re unsure about!