armi.bookkeeping.db.permissions module

class armi.bookkeeping.db.permissions.Permissions[source]

Bases: object

Mappings to HDF5 permissions flags

READ_ONLY_FME = 'r'
READ_WRITE_FME = 'r+'
CREATE_FILE_TIE = 'w'
CREATE_FILE_FIE = 'w-'
CREATE_FILE_FIE2 = 'x'
READ_WRITE_CREATE = 'a'
DEFAULT = 'a'
read = {'r', 'r+'}
write = {'a', 'r+', 'w', 'w-', 'x'}
create = {'a', 'w', 'w-', 'x'}
all = {'a', 'r', 'r+', 'w', 'w-', 'x'}