pyre¶
Subpackages¶
pyre.algebraicpyre.calcpyre.calc.Averagepyre.calc.Calculatorpyre.calc.Compositepyre.calc.Constpyre.calc.Countpyre.calc.Datumpyre.calc.Dependencypyre.calc.Dependentpyre.calc.Evaluatorpyre.calc.Expressionpyre.calc.Filterpyre.calc.Hierarchicalpyre.calc.Interpolationpyre.calc.Mappingpyre.calc.Maximumpyre.calc.Memopyre.calc.Minimumpyre.calc.Nodepyre.calc.NodeInfopyre.calc.Observablepyre.calc.Observerpyre.calc.Postprocessorpyre.calc.Preprocessorpyre.calc.Probepyre.calc.Productpyre.calc.Reactorpyre.calc.Referencepyre.calc.Sequencepyre.calc.Sumpyre.calc.SymbolTablepyre.calc.Unresolvedpyre.calc.Valuepyre.calc.exceptions
pyre.componentspyre.components.Actorpyre.components.CompatibilityReportpyre.components.Componentpyre.components.Configurablepyre.components.Foundrypyre.components.Inventorypyre.components.Monitorpyre.components.PrivateInventorypyre.components.Protocolpyre.components.PublicInventorypyre.components.Registrarpyre.components.Requirementpyre.components.Revisionpyre.components.Rolepyre.components.Trackerpyre.components.exceptions
pyre.configpyre.constraintspyre.constraints.Andpyre.constraints.Betweenpyre.constraints.Comparisonpyre.constraints.Constraintpyre.constraints.Equalpyre.constraints.Greaterpyre.constraints.GreaterEqualpyre.constraints.Lesspyre.constraints.LessEqualpyre.constraints.Likepyre.constraints.Notpyre.constraints.Orpyre.constraints.Setpyre.constraints.Subsetpyre.constraints.exceptions
pyre.dbpyre.db.Backuppyre.db.Clientpyre.db.Collationpyre.db.DataStorepyre.db.FieldReferencepyre.db.FieldSelectorpyre.db.ForeignKeypyre.db.Measurepyre.db.Objectpyre.db.Persistentpyre.db.Postgrespyre.db.Querypyre.db.Referencepyre.db.SQLpyre.db.SQLitepyre.db.Schemerpyre.db.Selectorpyre.db.Serverpyre.db.Tablepyre.db.actionspyre.db.exceptionspyre.db.expressionspyre.db.literals
pyre.descriptorspyre.extensionspyre.externalspyre.externals.BLASpyre.externals.Cythonpyre.externals.GCCpyre.externals.GSLpyre.externals.HDF5pyre.externals.Installationpyre.externals.Librarypyre.externals.LibraryInstallationpyre.externals.MPIpyre.externals.Metispyre.externals.PETScpyre.externals.Packagepyre.externals.ParMetispyre.externals.Postgrespyre.externals.Pythonpyre.externals.Toolpyre.externals.ToolInstallationpyre.externals.VTK
pyre.filesystempyre.filesystem.BlockDevicepyre.filesystem.CharacterDevicepyre.filesystem.Directorypyre.filesystem.Explorerpyre.filesystem.Filepyre.filesystem.Filesystempyre.filesystem.Finderpyre.filesystem.Folderpyre.filesystem.HDF5pyre.filesystem.Infopyre.filesystem.InfoFilepyre.filesystem.InfoFolderpyre.filesystem.InfoStatpyre.filesystem.InfoZippyre.filesystem.InfoZipFilepyre.filesystem.InfoZipFolderpyre.filesystem.Linkpyre.filesystem.Localpyre.filesystem.Nakedpyre.filesystem.NamedPipepyre.filesystem.Nodepyre.filesystem.Recognizerpyre.filesystem.SimpleExplorerpyre.filesystem.Socketpyre.filesystem.Statpyre.filesystem.TreeExplorerpyre.filesystem.Walkerpyre.filesystem.Zippyre.filesystem.exceptions
pyre.flowpyre.frameworkpyre.framework.Dashboardpyre.framework.Environpyre.framework.Executivepyre.framework.FileServerpyre.framework.Linkerpyre.framework.NameServerpyre.framework.Packagepyre.framework.Prioritypyre.framework.Pyrepyre.framework.Schemapyre.framework.Slotpyre.framework.SlotInfopyre.framework.exceptions
pyre.geometrypyre.gridpyre.handbookpyre.httppyre.ipcpyre.nexuspyre.parsingpyre.patternspyre.platformspyre.platforms.Barepyre.platforms.CPUInfopyre.platforms.CentOSpyre.platforms.DPkgpyre.platforms.Darwinpyre.platforms.Debianpyre.platforms.Hostpyre.platforms.Linuxpyre.platforms.MacPortspyre.platforms.Managedpyre.platforms.Modulespyre.platforms.POSIXpyre.platforms.PackageManagerpyre.platforms.Platformpyre.platforms.RedHatpyre.platforms.Ubuntu
pyre.primitivespyre.recordspyre.schematapyre.schemata.Arraypyre.schemata.Booleanpyre.schemata.Catalogpyre.schemata.Complexpyre.schemata.Componentpyre.schemata.Containerpyre.schemata.Datepyre.schemata.Decimalpyre.schemata.Dimensionalpyre.schemata.EnvPathpyre.schemata.EnvVarpyre.schemata.Floatpyre.schemata.Fractionpyre.schemata.INetpyre.schemata.InputStreampyre.schemata.Integerpyre.schemata.Listpyre.schemata.Mappingpyre.schemata.Numericpyre.schemata.OutputStreampyre.schemata.Pathpyre.schemata.Schemapyre.schemata.Sequencepyre.schemata.Setpyre.schemata.Stringpyre.schemata.Timepyre.schemata.Timestamppyre.schemata.Tuplepyre.schemata.Typedpyre.schemata.URIpyre.schemata.exceptions
pyre.shellspyre.shells.ANSIpyre.shells.ASCIIpyre.shells.Actionpyre.shells.Applicationpyre.shells.CSIpyre.shells.Commandpyre.shells.Daemonpyre.shells.Directorpyre.shells.Executivepyre.shells.Forkpyre.shells.IPythonpyre.shells.Interactivepyre.shells.Layoutpyre.shells.Panelpyre.shells.Plainpyre.shells.Plexuspyre.shells.Rendererpyre.shells.Repertoirpyre.shells.Scriptpyre.shells.Shellpyre.shells.Terminalpyre.shells.Userpyre.shells.Web
pyre.tabularpyre.tabular.Chartpyre.tabular.Columnpyre.tabular.Dimensionpyre.tabular.Inferredpyre.tabular.Intervalpyre.tabular.Measurepyre.tabular.Pivotpyre.tabular.Primarypyre.tabular.Reductionpyre.tabular.Selectorpyre.tabular.Sheetpyre.tabular.Surveyorpyre.tabular.Tabulatorpyre.tabular.Viewpyre.tabular.exceptions
pyre.timerspyre.trackingpyre.traitspyre.unitspyre.units.Dimensionalpyre.units.Parserpyre.units.SIpyre.units.anglepyre.units.areapyre.units.densitypyre.units.energypyre.units.exceptionspyre.units.forcepyre.units.lengthpyre.units.masspyre.units.powerpyre.units.pressurepyre.units.speedpyre.units.substancepyre.units.temperaturepyre.units.timepyre.units.volume
pyre.weaverpyre.weaver.Bannerpyre.weaver.BlockCommentspyre.weaver.BlockMillpyre.weaver.Cpyre.weaver.CShpyre.weaver.Cfgpyre.weaver.Cxxpyre.weaver.Djangopyre.weaver.Expressionpyre.weaver.F77pyre.weaver.F90pyre.weaver.HTMLpyre.weaver.HTTPpyre.weaver.Hostpyre.weaver.Indenterpyre.weaver.Installationpyre.weaver.Languagepyre.weaver.LineCommentspyre.weaver.LineMillpyre.weaver.Makepyre.weaver.Millpyre.weaver.MixedCommentspyre.weaver.PFGpyre.weaver.Perlpyre.weaver.Plexuspyre.weaver.Projectpyre.weaver.ProjectTemplatepyre.weaver.Pythonpyre.weaver.SQLpyre.weaver.SVGpyre.weaver.Shpyre.weaver.Smithpyre.weaver.Stationerypyre.weaver.TeXpyre.weaver.Weaverpyre.weaver.XML
pyre.xml
Submodules¶
Package Contents¶
-
pyre.resolve(uri)¶ Interpret {uri} as a request to locate and load a component
-
pyre.loadConfiguration(uri)¶ Open {uri} and attempt to load its contents into the configaration model
-
pyre.computeCallerStackDepth()¶ Compute the stack depth offset to get to the caller of a function
-
pyre.copyright()¶ Return the pyre copyright note
-
pyre.license()¶ Print the pyre license
-
pyre.version()¶ Return the pyre version
-
pyre.credits()¶ Print the acknowledgments
-
pyre.where(configurable, attribute=None)¶ Retrieve the location where the {attribute} of {configurable} got its value; if no {attribute} is specified, retrieve information about the {configurable} itself
-
pyre.boot()¶ Perform all the initialization steps necessary to bootstrap the framework
-
pyre.debug()¶ Enable debugging of pyre modules.
Modules that support debugging must provide a {debug} method and do as little as possible during their initialization. The fundamental constraints are provided by the python import algorithm that only give you one chance to import a module.
This must be done very early, before pyre itself starts importing its packages. One way to request debugging is to create a variable {pyre_debug} in the __main__ module that contains a set of strings, each one of which is the name of a pyre module that you would like to debug.
-
class
pyre.actor(name, bases, attributes, *, family=None, **kwds)¶ Bases:
pyre.components.Requirement.RequirementThe metaclass of components
{Actor} takes care of all the tasks necessary to convert a component declaration into a configurable entity that coöperates fully with the framework
-
__call__(self, name=None, locator=None, globalAliases=False, **kwds)¶ Build an instance of one of my classes
-
__setattr__(self, name, value)¶ Trap attribute setting in my class record instances to support setting the default value using the natural syntax
-
__str__(self)¶
-
-
class
pyre.role(name, bases, attributes, *, family=None, **kwds)¶ Bases:
pyre.components.Requirement.RequirementThe metaclass for protocols
-
__call__(self, **kwds)¶ The instantiation of protocol objects creates facility descriptors
-
__str__(self)¶
-
facility(self, **kwds)¶ Build my trait descriptor
-
-
class
pyre.protocol¶ Bases:
pyre.components.Configurable.ConfigurableThe base class for requirement specifications
-
pyre_key¶
-
pyre_isProtocol= True¶
-
EXTENSION= .py¶
-
-
class
pyre.component(name, locator, **kwds)¶ Bases:
pyre.components.Configurable.ConfigurableThe base class for all components
-
pyre_inventory¶
-
pyre_implements¶
-
pyre_isComponent= True¶
-
pyre_setTrait(self, alias, value, priority=None, locator=None)¶ Assign {value} to the trait named {alias}
-
pyre_getTrait(self, alias)¶ Retrieve the value and meta-data associated with the trait named {alias}
-
pyre_registered(self)¶ Hook that gets invoked by the framework after the component instance has been registered but before any configuration events
-
pyre_configured(self)¶ Hook that gets invoked by the framework after the component instance has been configured but before the binding of any of its traits
-
pyre_initialized(self)¶ Hook that gets invoked by the framework right before the component is put into action. The component is now in a known good state, with all configurable traits fully bound and validated. This is the place where the component should acquire whatever further resources it requires.
-
pyre_finalized(self)¶ Hook that gets invoked by the framework right before the component is decommissioned. The instance should release all acquired resources.
-
pyre_slot(self, attribute=None)¶ Return the slot associated with {attribute}; if no attribute s given, return the slot with the component instance itself
-
pyre_how(self, attribute)¶ Return the priority associated with {attribute}
-
pyre_where(self, attribute=None)¶ Return the locator associated with {attribute}; if no attribute name is given, return the locator of the component instance
-
__str__(self)¶
-
__getattr__(self, name)¶ Trap attribute lookup errors and attempt to resolve the name in my inventory’s name map. This makes it possible to get the value of a trait by using any of its aliases.
-
__setattr__(self, name, value)¶ Trap attribute assignment and attempt to normalize the name before making the assignment
-
-
class
pyre.foundry(factory, implements=None, tip='', **kwds)¶ A decorator for callables that return component classes
-
pyre_tip=¶
-
pyre_factory¶
-
pyre_implements¶
-
__call__(self, *args, **kwds)¶
-
-
class
pyre.monitor¶ Bases:
pyre.calc.Probe.ProbeA probe that monitors the traits of a set of components
-
watch(self, component)¶ Monitor {component} for changes in the values of its traits
-
-
class
pyre.tracker(**kwds)¶ Bases:
pyre.components.Monitor.MonitorA class that monitors the traits of a set of components and maintains a record of their values
-
track(self, component)¶ Add the {component} traits to the pile of observables
-
flush(self, observable, **kwds)¶ Handle the notification that the value of {observable} has changed
-
-
pyre.property¶
-
class
pyre.export(method, tip=None, **kwds)¶ Bases:
pyre.traits.Trait.TraitThe base class for component methods that are part of its external interface
-
method¶
-
category= behavior¶
-
isBehavior= True¶
-
__get__(self, instance, cls)¶ Access to the behavior
-
__set__(self, instance, value)¶ Disable writing to behavior descriptors
-
__str__(self)¶
-
-
class
pyre.provides(method, tip=None, **kwds)¶ Bases:
pyre.traits.Trait.TraitThe base class for component methods that are part of its external interface
-
method¶
-
category= behavior¶
-
isBehavior= True¶
-
__get__(self, instance, cls)¶ Access to the behavior
-
__set__(self, instance, value)¶ Disable writing to behavior descriptors
-
__str__(self)¶
-
-
class
pyre.facility(protocol, **kwds)¶ Bases:
pyre.traits.Slotted.Slotted,pyre.schemata.componentThe descriptor for traits that are components
-
category= component¶
-
isFacility= True¶
-
macro(self, **kwds)¶ Return the default strategy for handling expressions in slot values
-
native(self, **kwds)¶ The strategy for building slots from more complex input values
-
instantiate(self, value, node, incognito=False, **kwds)¶ Coerce {value} into an instance of a component compatible with my protocol
-
__str__(self)¶
-
-
exception
pyre.PyreError(description=None, locator=None, **kwds)¶ Bases:
ExceptionBase class for all pyre related errors
-
description= generic pyre error¶
-
__str__(self)¶
-
-
pyre.executive¶
-
pyre.package¶
-
pyre.shutdown()¶ Attempt to hunt down and destroy all known references to the executive