pytwine.core

Core classes: chunks of document, exit statuses.

Functions

merge_docchunks(chunks)

merge several dochunks into one.

Classes

Chunk(chunkType, contents, number, startLineNum)

A chunk of document – either a code block, or non-code block.

CodeChunk(*args, **kwargs)

A code block Chunk.

DocChunk(*args, **kwargs)

A non-code-block.

TwineExitStatus(value)

Some exit statuses.