|
|
deprecated(func)
used to deprecate a function/method: prints a lot of warning messages
to enforce the modifaction of the code |
source code
|
|
|
|
getnum(name)
# try to figure out a file number # guess it starts at the back |
source code
|
|
|
|
numstem(name)
cant see how to do without reversing strings Match 1 or more digits
going backwards from the end of the string |
source code
|
|
|
|
|
|
|
construct_filename(filename,
frame=None)
Try to construct the filename for a given frame |
source code
|
|
|
|
next_filename(name,
padding=True)
increment number |
source code
|
|
|
|
previous_filename(name,
padding=True)
decrement number |
source code
|
|
|
|
jump_filename(name,
num,
padding=True)
jump to number |
source code
|
|
|
|
extract_filenumber(name)
extract file number |
source code
|
|
|
|
isAscii(name,
listExcluded=None)
Returns:
True of False whether name is pure ascii or not |
source code
|
|
|
|
toAscii(name,
excluded=None)
Returns:
the name with all non valid char removed |
source code
|
|
|
|
|
|
|
logger = logging.getLogger("fabioutils")
|
|
|
FILETYPES = {'cbf': ['cbf'], 'cbf.bz2': ['cbf'], 'cbf.gz': ['c...
|
|
|
COMPRESSORS = {'.bz2': 'bzip2 -dc ', '.gz': 'gzip -dc '}
|
|
|
dictAscii = {None: [' ', '!', '"', '#', '$', '%', '&', '\'', '...
|
|
|
lines = 'bzip2, a block-sorting file compressor. Version 1.0....
|
|
|
__package__ = 'fabio'
|
|
|
i = 126
|
|
|
key = 'cbf'
|