pyre.weaver

Package Contents

class pyre.weaver.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.weaver.weaver

Bases: pyre.component

The base component for content generation

language
doc = the desired output language
weave(self, **kwds)

Assemble the {document}

class pyre.weaver.language

Bases: pyre.protocol

The protocol specification for output languages

languages
render(self)

Render the document

header(self)

Render the header of the document

body(self)

Render the body of the document

footer(self)

Render the footer of the document

pyre.weaver.mill()

The base mill component

pyre.weaver.line()

The base mill component

pyre.weaver.block()

The base mill component

pyre.weaver.c()

The C weaver

pyre.weaver.csh()

The csh weaver

pyre.weaver.cfg()

The cfg weaver

pyre.weaver.cxx()

The C++ weaver

pyre.weaver.f77()

The FORTRAN weaver

pyre.weaver.f90()

The F90 weaver

pyre.weaver.html()

The HTML weaver

pyre.weaver.http()

The HTTP weaver

pyre.weaver.make()

The make weaver

pyre.weaver.pfg()

The pfg weaver

pyre.weaver.perl()

The perl weaver

pyre.weaver.python()

The python weaver

pyre.weaver.sql()

The SQL weaver

pyre.weaver.svg()

The SVG weaver

pyre.weaver.sh()

The sh weaver

pyre.weaver.tex()

The TeX weaver

pyre.weaver.xml()

The XML weaver

pyre.weaver.smith(**kwds)

The templater facility

class pyre.weaver.project

Bases: pyre.protocol

Encapsulation of the project information

name
doc = the name of the project
authors
doc = the list of project authors
affiliations
doc = the author affiliations
span
doc = the project duration for the copyright message
live
doc = information about the remote host
blacklisted(self, filename)

Check whether {filename} is on the list of files to not expand

pyre.weaver.django()

The django project type

pyre.weaver.plexus()

The plexus project type