threecolor package

Submodules

threecolor.application module

threecolor.application.create_admin()

Place holder for eventual admin site interface

threecolor.application.create_site()

App factory to create website

threecolor.manager module

threecolor.models module

class threecolor.models.PageCreator(**kwargs)

Bases: threecolor.models.PageHeader

class threecolor.models.PageHeader(**kwargs)

Bases: object

Class that handles page header data. The page header is a yaml header

at the beginnning of the markdown file that will be turned into a page.

dump()

test function

header

Make a dict from kwargs

write_page()

Writes the dict from header funtion into a file. This is our page metadata information

class threecolor.models.PagesCreator(**kwargs)

Bases: threecolor.models.PageHeader

Subclass of PageHeader for making batch yaml headers and markdown files

header(n)

Overrides PageHeader’s header funtion to one needed for batch creation

write_page()

Writes the dict from header funtion into a file. This is our page metadata information

Module contents

3color Press

A Static Website generator by a webcomic author for webcomic authors