module bool[source] bool[source]

checks if a FITS file exists ignoring extension ({}) info[source]

Returns a name which is random and (with extremely high probability) unique


random file name None[source]

If the given directory does not exists, then make it


directory – directory to check or make


None bool[source], abspath: bool = False) Path[source]'', within_directory=None)[source]

This context manager creates a temporary directory in the most secure possible way (with no race condition), and removes it at the end.

  • prefix – the directory name will start with this prefix, if specified

  • within_directory – create within a specific directory (assumed to exist). Otherwise, it will be created in the

default system temp directory (/tmp in unix) :return: the absolute pathname of the provided directory[source]