gavo.utils package¶
Submodules¶
- gavo.utils.algotricks module
- gavo.utils.autonode module
- gavo.utils.codetricks module
AllEncompassingSet
CachedGetter
DeferredImport
EqualingRE
IdManagerMixin
Infimum
NS
NocaseString
NullObject
Supremum
addDefaults()
buildClassResolver()
bytelist
compileFunction()
complexlist
devnull()
document()
ensureExpression()
floatlist
forgetMemoized()
getTracebackAsString()
identity()
importModule()
in_dir()
intToFunnyWord()
intlist
iterConsecutivePairs()
iterDerivedClasses()
iterDerivedObjects()
iterRanges()
loadInternalObject()
loadPythonModule()
memoizeOn()
memoized()
printFrames()
sandbox()
silence()
stealVar()
- gavo.utils.dachstypes module
- gavo.utils.excs module
- gavo.utils.fancyconfig module
BadConfigValue
BooleanConfigItem
BytestringConfigItem
ConfigError
ConfigItem
Configuration
DefaultSection
DictConfigItem
EnumeratedConfigItem
ExpandedPathConfigItem
FloatConfigItem
IntConfigItem
IntListConfigItem
IntSetConfigItem
ListConfigItem
MagicSection
NoConfigItem
ParseError
PathConfigItem
PathRelativeConfigItem
Section
SetConfigItem
StringConfigItem
SyntaxError
load_tests()
makeTxtDocs()
readConfiguration()
- gavo.utils.fitstools module
ESODescriptorsError
FITSError
WCSAxis
cutoutFITS()
cutoutHeader()
fitsLock()
fixImageExtind()
getAxisLengths()
getWCSAxis()
headerFromDict()
iterFITSRows()
iterScaledBytes()
iterScaledRows()
openFits()
padCard()
parseCards()
parseESODescriptors()
readHeaderBytes()
readPrimaryHeaderQuick()
replacePrimaryHeader()
replacePrimaryHeaderInPlace()
serializeHeader()
shrinkWCSHeader()
sortHeaders()
- gavo.utils.imgtools module
- gavo.utils.mathtricks module
- gavo.utils.misctricks module
- gavo.utils.monkeypatch module
- gavo.utils.ostricks module
- gavo.utils.parsetricks module
- gavo.utils.pgsphere module
- gavo.utils.plainxml module
ErrorPosition
StartEndHandler
StartEndHandler.characters()
StartEndHandler.cleanupName()
StartEndHandler.endElement()
StartEndHandler.endElementNS()
StartEndHandler.getAttrsAsDict()
StartEndHandler.getParentTag()
StartEndHandler.getResult()
StartEndHandler.parse()
StartEndHandler.parseBytes()
StartEndHandler.parseString()
StartEndHandler.processingInstruction()
StartEndHandler.setDocumentLocator()
StartEndHandler.startElement()
StartEndHandler.startElementNS()
iterparse
traverseETree()
- gavo.utils.serializers module
- gavo.utils.stanxml module
ChildNotAllowed
Element
Element.addAttribute()
Element.addChild()
Element.apply()
Element.bailIfBadChild()
Element.clone()
Element.deepcopy()
Element.getChildDict()
Element.isEmpty()
Element.iterAttNames()
Element.iterChildren()
Element.iterChildrenOfType()
Element.iterChildrenWithName()
Element.name_
Element.render()
Element.shouldBeSkipped()
Error
NSRegistry
NillableMixin
Stub
escapeAttrVal()
escapePCDATA()
getPrefixInfo()
registerPrefix()
schemaURL()
xmlrender()
xmlwrite()
- gavo.utils.texttricks module
NameMap
bytify()
datetimeToRFC2616()
debytify()
defuseFileName()
degToDms()
degToHms()
dmsToDeg()
ensureOneSlash()
fixIndentation()
formatFloat()
formatISODT()
formatRFC2616Date()
formatSimpleTable()
formatSize()
fracHoursToDeg()
getFileStem()
getRandomString()
getRelativePath()
hmsToDeg()
hoursToHms()
iterSimpleText()
makeEllipsis()
makeIAUId()
makeLeftEllipsis()
makeSourceEllipsis()
parseAccept()
parseAssignments()
parseDefaultDate()
parseDefaultDatetime()
parseDefaultTime()
parseISODT()
parsePercentExpression()
parseRFC2616Date()
replaceXMLEntityRefs()
resolvePath()
roundToSeconds()
safe_str()
timegm()
- gavo.utils.typeconversions module
Module contents¶
Miscellaneous helper modules for DACHS’ python modules.
This comprises helpers and wrappers that do not need gavo.base but for some reason or another should be within the dc package.