BioSimSpace._Utils

The _Utils package contains a collection of internal utilities.

Classes

WorkDir([work_dir])

A utility class to create a working directory.

Context managers

cd(work_dir)

Execute the context in the directory "work_dir".

Functions

command_split(command)

Cross platform version of 'shlex.split'.

_module_stub(name[, install_command])

Return a ModuleStub that will raise a ModuleNotFoundError if it is used in any way.

_try_import(name[, install_command])

Try to import the module called 'name' and return the resulting module.

_have_imported(module)

Return whether or not the passed module has indeed been imported (and thus is not stubbed).

_assert_imported(module)

Assert that the passed module has indeed been imported.