Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/314rs/oakleaf_poetry
This is part of an interactive theater play by oakleaf.
https://github.com/314rs/oakleaf_poetry
Last synced: about 1 month ago
JSON representation
This is part of an interactive theater play by oakleaf.
- Host: GitHub
- URL: https://github.com/314rs/oakleaf_poetry
- Owner: 314rs
- Created: 2021-08-28T20:36:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-31T18:31:11.000Z (over 3 years ago)
- Last Synced: 2023-12-09T01:27:22.461Z (about 1 year ago)
- Language: Python
- Homepage: https://www.oakleaf-creativity.de/
- Size: 11.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Oakleaf poetry station
## Dependencies:
### FPDF
The script needs fpdf to be installed on the client computer. To install it use:
```cmd
pip install fpdf
```
or:
```cmd
python -m pip install fpdf
```
## Files### words.txt
- put words here
- one per line### poetry_client.py:
- choose 3 random words from '''words.txt''' (one word per line)
- save poem as .txt and .pdf in ./poems
- change the layout in line 83: ```pdf = poem_to_pdf(entry_text, mode=1, font_size=24)```
- mode=0 : use fixed font size and line breaks
- mode=1 : use biggest possible font size (per line) \[experimental\]
- mode=2 : use biggest possible font size but same for all lines### poetry_printer.py:
- choose a random PDF from ./poems
- print it using the windows-standard-printer## Mitmachen:
https://projekt-rezepte.de/partizipation/