rotifer.core.functions#

Functions

chunks(list_to_chunk, chunk_size)

Yield successive n-sized chunks from l.

findDataFiles(load[, all])

This routine locates data files under Rotifer's standard locations.

get_some_info()

hierarchy_to_dataframe(x)

import_path(path)

Import Python code from any input file, whatever its extension.

loadClasses(load[, user_path, system_path])

This function list all classes and methods The main problem is the import

loadConfig(filepath[, user_path, ...])

This routine loads configuration parameters from YAML file(s).

md5(filename)

Calculate MD5 checksum for a file.

not_kwargs(dict_args, key, value)

Small function to check if an element is not in a dictionary.

open_compressed(filename[, mode, encoding])

Open a bzip2 or a gzip file as if it was uncompressed.

openread(largs)

Open, read, and close a file.

restore_session(filename[, exclude, namespace])

save_session(filename[, exclude, ...])

vmsg([message])

Output a message to stderr.

who_is_calling(obj)

yaml_search(string, path)

Classes

dotdict

A class implementing dot annotation access to dictionary attributes Instead of using dc['key'] dictionary values can be accessed using dc.key.

rdoc(f)

Input a file with rotifer corecli Ouput a markdown file The first parameter f is the script path the md object is created containing a raw markdown Later it can be printed to stdout using writer() function.