Skip to content

garethr/booky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

Booky is a simple application that helps with writing a single work, probably about or at least containing code. The main purpose is to take a collection of html fragments and code snippets and to compile them together into a pdf or other document, hopefully running a test suite against the code at the same time.

Usage

Booky. Build tool for books. Takes files from a source directory
and generates output in the build directory in different formats.

-o, --output [format]      supports html (default), txt or pdf
-p, --processor [from]     supports textile (default), markdown or none
-c, --clean                removes all files from the build directory
-h, --help                 display this help message

Inspiration

Their are a few pieces of software that already solve a subset or superset of this problem. They have the advantage of being finished and in active use, and the disadvantage of being more general in scope, and hence more complicated. Do have a look at the following as they might be a better fit for your needs:

Requirements

The following modules are required for all the callbacks to work. If you don’t need the relevant functionality though everything should run without them.

Currently if you try something that requires a module you don’t have you’ll get a nice error.

Installation

It’s packaged with setuptools so as long as you have that installed you should be able to just run:

python setup.py install

If you’re hacking on the software I’d recommend running it in development mode.

python setup.py develop

About

script to build compile a book from text file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages