Beispiel #1
0
# import and publish pyre symbols
from pyre import (
    # protocols, components and traits
    schemata, constraints, properties, protocol, component, foundry,
    # decorators
    export, provides,
    # the manager of the pyre runtime
    executive,
    # miscellaneous
    tracking, units
    )


# bootstrap
package = executive.registerPackage(name='{project.name}', file=__file__)
# save the geography
home, prefix, defaults = package.layout()

# publish local modules
from . import (
    meta, # meta-data
    extensions, # my extension module
    )

# administrivia
def copyright():
    """
    Return the copyright note
    """
    # pull and print the meta-data
Beispiel #2
0
    # vectors
    vector,
    # basic linear algebra
    blas,
    # higher level linear algebra
    linalg as lapack,
    # random number generators
    rng,
    # probability distribution functions
    pdf,
    # histograms
    histogram,
)

# fire up
package = executive.registerPackage(name='altar', file=__file__)
# save the geography
home, prefix, etc = package.layout()
# the directory with my models
modelPrefix = os.path.join(home, "models")

# export my parts
from . import (
    # package meta-data
    meta,
    # simulation support
    simulations,
    # norms
    norms,
    # probability distribution functions
    distributions,
Beispiel #3
0
    constraints,
    properties,
    protocol,
    component,
    foundry,
    # decorators
    export,
    provides,
    # the manager of the pyre runtime
    executive,
    # miscellaneous
    tracking,
    units)

# bootstrap
package = executive.registerPackage(name='{project.name}', file=__file__)
# save the geography
home, prefix, defaults = package.layout()

# publish local modules
from . import (
    meta,  # meta-data
    extensions,  # my extension module
)


# administrivia
def copyright():
    """
    Return the copyright note
    """
Beispiel #4
0
    # protocols, components, traits, and their infrastructure
    schemata, constraints, properties, protocol, component, foundry,
    # decorators
    export, provides,
    # the manager of the pyre runtime
    executive,
    # shells
    application, plexus,
    # content mills
    weaver,
    # flow
    flow,
)

# register the package
package = executive.registerPackage(name='merlin', file=__file__)
# attach the geography
home, prefix, defaults = package.layout()


# publish the local modules
from . import meta
from . import exceptions
# local extensions of the framework plumbing
from . import protocols
from . import components
# flow nodes
from . import assets
from . import factories
# builder abstractions
from . import languages
Beispiel #5
0
    # hosting strategies
    application,
    plexus,
    # support for persistence
    db,
    records,
    tabular,
    # support for work flows
    flow,
    # miscellaneous
    tracking,
    units,
    weaver)

# bootstrap
package = executive.registerPackage(name='flo', file=__file__)
# save the geography
home, prefix, defaults = package.layout()

# publish local modules
from . import (
    meta,  # meta-data
    model,  # product and factory specifications
    isce3,  # product and factory implementations
    schema,  # the layout of the information in the persistence support
    queries,  # access to the data store

    # user interface
    shells,  # application support
    cli,  # the command panels
)
Beispiel #6
0
    provides,
    # the runtime manager
    executive,
    # db support
    db,
    records,
    tabular,
    # miscellaneous packages
    patterns,
    primitives,
    tracking,
    units,
)

# fire up
package = executive.registerPackage(name='praxis', file=__file__)
# save the geography
home, prefix, defaults = package.layout()

# access to components
from .components import idd, layout, datastore, plexus, action, command

# and other {praxis} parts
from . import (
    # project meta-data
    meta,
    # my exceptions
    exceptions,
    # auxiliaries
    support,
    # the external file layouts