gavo.base package¶
Submodules¶
- gavo.base.activetags module
ActiveTag
Debug
Defaults
DelayedReplayBase
Edit
EmbeddedStream
EventStream
GeneratorAttribute
GhostMixin
Loop
NonExpandedReplayedEvents
Prune
RawEventStream
RecordingBase
RecordingBase.STRUCT_SENTINEL
RecordingBase.attrSeq
RecordingBase.completedCallbacks
RecordingBase.dump()
RecordingBase.end_()
RecordingBase.feedEvent()
RecordingBase.getEventSource()
RecordingBase.iterEvents()
RecordingBase.managedAttrs
RecordingBase.name_
RecordingBase.start_()
RecordingBase.unexpandMacros()
RecordingBase.value_()
ReplayBase
ReplayedEvents
ReplayedEventsWithFreeAttributesBase
ReplayedEventsWithFreeAttributesBase.STRUCT_SENTINEL
ReplayedEventsWithFreeAttributesBase.attrSeq
ReplayedEventsWithFreeAttributesBase.completeElement()
ReplayedEventsWithFreeAttributesBase.completedCallbacks
ReplayedEventsWithFreeAttributesBase.getAttribute()
ReplayedEventsWithFreeAttributesBase.managedAttrs
isActive()
registerActiveTag()
- gavo.base.attrdef module
- gavo.base.caches module
- gavo.base.common module
- gavo.base.complexattrs module
DictAttribute
ListOfAtomsAttribute
MultiStructAttribute
MultiStructListAttribute
PropertyAttribute
SetOfAtomsAttribute
StructAttribute
StructListAttribute
StructListAttribute.addStruct()
StructListAttribute.create()
StructListAttribute.default_
StructListAttribute.feedObject()
StructListAttribute.getCopy()
StructListAttribute.iterChildren()
StructListAttribute.iterEvents()
StructListAttribute.makeUserDoc()
StructListAttribute.onParentComplete()
StructListAttribute.remove()
StructListAttribute.replace()
StructListAttribute.typeDesc_
UniquedStructListAttribute
- gavo.base.config module
- gavo.base.coords module
Box
clampAlpha()
clampDelta()
dirVecToCelCoos()
getBbox()
getCenterFromWCSFields()
getCoveringCircle()
getGCDist()
getInvWCSTrafo()
getPixelLimits()
getPixelSizeDeg()
getSkyWCS()
getSpolyFromWCSFields()
getTangentialUnits()
getWCS()
getWCSTrafo()
makePyfitsFromDict()
movePm()
pix2foc()
pix2sky()
sgn()
sky2pix()
straddlesStitchingLine()
- gavo.base.cron module
- gavo.base.events module
DispatcherType
EventDispatcher
EventDispatcher.eventTypes
EventDispatcher.logOldExc()
EventDispatcher.notifyDBTableModified()
EventDispatcher.notifyDebug()
EventDispatcher.notifyError()
EventDispatcher.notifyExceptionMutation()
EventDispatcher.notifyFailure()
EventDispatcher.notifyIncomingRow()
EventDispatcher.notifyIndexCreation()
EventDispatcher.notifyInfo()
EventDispatcher.notifyNewSource()
EventDispatcher.notifyProcessEnded()
EventDispatcher.notifyProcessStarts()
EventDispatcher.notifyProgress()
EventDispatcher.notifyScriptRunning()
EventDispatcher.notifyShipout()
EventDispatcher.notifySourceError()
EventDispatcher.notifySourceFinished()
EventDispatcher.notifyWarning()
EventDispatcher.notifyWebServerUp()
EventDispatcher.subscribe()
EventDispatcher.subscribeDBTableModified()
EventDispatcher.subscribeDebug()
EventDispatcher.subscribeError()
EventDispatcher.subscribeExceptionMutation()
EventDispatcher.subscribeFailure()
EventDispatcher.subscribeIncomingRow()
EventDispatcher.subscribeIndexCreation()
EventDispatcher.subscribeInfo()
EventDispatcher.subscribeNewSource()
EventDispatcher.subscribeProcessEnded()
EventDispatcher.subscribeProcessStarts()
EventDispatcher.subscribeProgress()
EventDispatcher.subscribeScriptRunning()
EventDispatcher.subscribeShipout()
EventDispatcher.subscribeSourceError()
EventDispatcher.subscribeSourceFinished()
EventDispatcher.subscribeWarning()
EventDispatcher.subscribeWebServerUp()
EventDispatcher.suspended()
EventDispatcher.unsubscribe()
EventDispatcher.unsubscribeDBTableModified()
EventDispatcher.unsubscribeDebug()
EventDispatcher.unsubscribeError()
EventDispatcher.unsubscribeExceptionMutation()
EventDispatcher.unsubscribeFailure()
EventDispatcher.unsubscribeIncomingRow()
EventDispatcher.unsubscribeIndexCreation()
EventDispatcher.unsubscribeInfo()
EventDispatcher.unsubscribeNewSource()
EventDispatcher.unsubscribeProcessEnded()
EventDispatcher.unsubscribeProcessStarts()
EventDispatcher.unsubscribeProgress()
EventDispatcher.unsubscribeScriptRunning()
EventDispatcher.unsubscribeShipout()
EventDispatcher.unsubscribeSourceError()
EventDispatcher.unsubscribeSourceFinished()
EventDispatcher.unsubscribeWarning()
EventDispatcher.unsubscribeWebServerUp()
- gavo.base.literals module
- gavo.base.macros module
ExpansionDelegator
MacDef
MacDefAttribute()
MacroError
MacroExpander
MacroPackage
StandardMacroMixin
StandardMacroMixin.macro_RSTservicelink()
StandardMacroMixin.macro_RSTtable()
StandardMacroMixin.macro_decapitalize()
StandardMacroMixin.macro_getConfig()
StandardMacroMixin.macro_internallink()
StandardMacroMixin.macro_lower()
StandardMacroMixin.macro_magicEmpty()
StandardMacroMixin.macro_metaSeq()
StandardMacroMixin.macro_metaString()
StandardMacroMixin.macro_rdId()
StandardMacroMixin.macro_rdIdDotted()
StandardMacroMixin.macro_resdir()
StandardMacroMixin.macro_schema()
StandardMacroMixin.macro_test()
StandardMacroMixin.macro_today()
StandardMacroMixin.macro_upper()
StandardMacroMixin.macro_urlquote()
- gavo.base.meta module
ComputedMetaMixin
IncludesChildren
MetaAttribute
MetaBuilder
MetaCardError
MetaError
MetaItem
MetaMixin
MetaMixin.addMeta()
MetaMixin.buildRepr()
MetaMixin.copyMetaFrom()
MetaMixin.delMeta()
MetaMixin.getAllMetaPairs()
MetaMixin.getMeta()
MetaMixin.getMetaKeys()
MetaMixin.getMetaParent()
MetaMixin.hasMeta()
MetaMixin.isEmpty()
MetaMixin.iterMeta()
MetaMixin.makeOriginal()
MetaMixin.setMeta()
MetaMixin.setMetaParent()
MetaMixin.setParent()
MetaMixin.traverse()
MetaParser
MetaSyntaxError
MetaValue
MetaValueError
ModelBasedBuilder
NoMetaKey
TextBuilder
doMetaOverride()
ensureMetaItem()
ensureMetaValue()
forKeys()
getKeysForClass()
getMetaText()
makeFallbackMeta()
parseKey()
parseMetaStream()
printMetaTree()
stanFactory()
- gavo.base.metavalidation module
- gavo.base.observer module
- gavo.base.osinter module
- gavo.base.parsecontext module
IdAttribute
OriginalAttribute
ParseContext
ParseContext.addExitFunc()
ParseContext.getById()
ParseContext.getInjected()
ParseContext.getQualifiedId()
ParseContext.inject()
ParseContext.pos
ParseContext.registerId()
ParseContext.replaying()
ParseContext.resolveId()
ParseContext.runExitFuncs()
ParseContext.setEventSource()
ParseContext.setPositionOn()
ReferenceAttribute
ReferenceListAttribute
assertType()
getTableDefForTable()
resolveComplexId()
resolveCrossId()
resolveId()
resolveNameBased()
- gavo.base.spectral module
- gavo.base.sqlmunge module
- gavo.base.sqlsupport module
AdhocQuerier
CustomConnectionPool
DaCHSConnection
DebugConnection
DebugCursor
Error
FloatableAdapter
IntableAdapter
NULLAdapter
NonBlockingQuery
PostgresQueryMixin
PostgresQueryMixin.connection
PostgresQueryMixin.dropTable()
PostgresQueryMixin.foreignKeyExists()
PostgresQueryMixin.getACLFromRes()
PostgresQueryMixin.getColumnsFromDB()
PostgresQueryMixin.getForeignKeyName()
PostgresQueryMixin.getOIDForTable()
PostgresQueryMixin.getPrimaryIndexName()
PostgresQueryMixin.getRowEstimate()
PostgresQueryMixin.getSchemaPrivileges()
PostgresQueryMixin.getTablePrivileges()
PostgresQueryMixin.getTableType()
PostgresQueryMixin.hasIndex()
PostgresQueryMixin.parsePGACL()
PostgresQueryMixin.roleExists()
PostgresQueryMixin.schemaExists()
QuerierMixin
SqlArrayAdapter
SqlSetAdapter
StandardQueryMixin
UnmanagedQuerier
adapter
getAdminConn()
getDBConnection()
getDBMeta()
getPgVersion()
getTableConn()
getUntrustedConn()
getWritableAdminConn()
getWritableTableConn()
getWritableUntrustedConn()
initPsycopg()
setDBMeta()
- gavo.base.structure module
DataContent
ParseableStructure
ParseableStructure.attrSeq
ParseableStructure.change()
ParseableStructure.completedCallbacks
ParseableStructure.copy()
ParseableStructure.end_()
ParseableStructure.feed()
ParseableStructure.feedFrom()
ParseableStructure.feedObject()
ParseableStructure.finishElement()
ParseableStructure.getAttribute()
ParseableStructure.iterEvents()
ParseableStructure.managedAttrs
ParseableStructure.start_()
ParseableStructure.value_()
RestrictionMixin
StructType
Structure
StructureBase
StructureBase.STRUCT_SENTINEL
StructureBase.adopt()
StructureBase.attrSeq
StructureBase.breakCircles()
StructureBase.completedCallbacks
StructureBase.fromStructure()
StructureBase.getAttributes()
StructureBase.getCopyableAttributes()
StructureBase.getSourcePosition()
StructureBase.iterChildren()
StructureBase.managedAttrs
StructureBase.name_
StructureBase.setParent()
StructureBase.setPosition()
buildstructure()
makeStruct()
sortAttrs()
- gavo.base.typedmeta module
- gavo.base.typesystems module
- gavo.base.unitconv module
- gavo.base.valuemappers module
- gavo.base.xmlstruct module
Module contents¶
Basic code for defining objects in the data center: Structures, their attributes, fundamental VO conventions.