diff options
| author | historia <historiavg@proton.me> | 2026-08-17 21:22:46 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-17 21:22:46 -0400 |
| commit | f739fc28776eff0465c2f9577b0c2e1fa3d7dea2 (patch) | |
| tree | 544c5fcaaebdaa249dfef7e3670a29e88bdcd359 /README.md | |
| parent | 1c8c7fcfe4b8df461763f82be6c3ed860b583d52 (diff) | |
| download | epub-generator-f739fc28776eff0465c2f9577b0c2e1fa3d7dea2.tar.gz | |
feat: lorem ipsum flag
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ # epubgen -Python EPUB 3.3 generator for making test files. It will pull paragraphs from a text file randomly to generate the content of the book. It also has a torture mode which randomly adds unusual characters to try to break parsers. +Python EPUB 3.3 generator for making test files. It will pull paragraphs from a text file randomly to generate the content of the book. It also has a torture mode which randomly adds unusual characters to try to break parsers. If no text file is available, it falls back to generated lorem ipsum text. ## Usage @@ -17,7 +17,8 @@ python epubgen.py -m normal -c 10 -p 5 | `-t, --title` | `The Testing EPUB` | book title | | `-a, --author` | `Test Author` | book author | | `--seed N` | random | RNG seed for reproducibility | -| `--texts FILE` | `paragraphs.txt` | one paragraph per line | +| `--texts FILE` | `paragraphs.txt` | one paragraph per line | +| `--lorem` | off | generate lorem ipsum instead of reading a file | | `--no-ncx` | off | omit the EPUB 2 NCX fallback | | `-v, --version` | | print version | |
