A PDF book generator for structured ritual and ceremonial texts
Project description
bookcraft
A Python library for generating PDF books from structured text content.
Installation
pip install bookcraft
Usage
from bookcraft import generate
generate(
books_path="./books/",
settings_path="./c-settings.yaml",
fonts_path="./fonts.yaml",
keywords_path="./c-keywords.yaml",
output_path="./output/craft.pdf",
mode="craft",
)
Modes
| Mode | Description |
|---|---|
craft |
Craft, light theme |
craft-dark |
Craft, dark theme |
ra |
Royal Arch, light theme |
ra-dark |
Royal Arch, dark theme |
Content layout
Your content project should provide:
your-project/
├── books/ # directories of page-N.txt files
├── fonts/ # font files referenced in fonts.yaml
├── fonts.yaml
├── c-settings.yaml
├── c-keywords.yaml
├── ra-settings.yaml
├── ra-keywords.yaml
└── output/ # generated PDFs written here
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bookcraft-0.1.0.tar.gz
(9.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
bookcraft-0.1.0-py3-none-any.whl
(21.8 kB
view details)
File details
Details for the file bookcraft-0.1.0.tar.gz.
File metadata
- Download URL: bookcraft-0.1.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
689a2b8baa7d9ec9c80b32288168221ba33a46af531c7a22c4a0074b65a133d8
|
|
| MD5 |
63923713b2879cda2dbb5677a23d9d8d
|
|
| BLAKE2b-256 |
05ef84ef0b6c85cf1fa141c13a8cb785ee4b250ba3414ef5bbdde7dd31f13828
|
File details
Details for the file bookcraft-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bookcraft-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f86230e0230fabadfaa1c319dc325e6e33cc6e50865444d9c38bb8b4108bf6b8
|
|
| MD5 |
f79c06898b46b7f945f5f7dbf80229c2
|
|
| BLAKE2b-256 |
6a85f05404487aee0eadf8f4a2e158e404c1306592b1442b189f0bb25efc467a
|