pip-karurada
Generates from YAML-files PDF file.
User defines page-based system (eg. WUI) using YAML files, where UI elements and navigation is declared in simple (limited) way.
Then partial PDF (A4 portrait) can be generated for show purposes to get feedback.
Declaration
Write YAML-files for every visible page/unit (including popups).
alias: simplesetofpages
imports:
-
file: c_standard.yaml
from: core # if from is missing, file path local file system to your own components
pages:
-
page: first_page
title: Things
abstract: Let it be some list or greetings
notes:
- Note about this page, always
content:
-
comp: title_bar
title: Here will be title
Group them somehow (for bigger projects).
Make show-purposed YAML files, which collect pages for that purpose.
show:
title: Some nice title
imports:
-
file: "./group1/pages1.yaml"
as: mydefs
pages:
-
page: first_page
from: mydes
abstract: Just for fun
text: Be nice and click everywhere
notes: # after-page-notes for this show
- "How to get back is not relevant today, let's discuss it later"
- No need to hurry
Execute something like next (not tested yet):
from karurada import generate_show
show_file_name = 'show.yaml'
show: dict = {}
show_def: dict = interpret_string_as_yaml(read_content_of_file(show_file_name)) # use pyyaml or similar to read yaml file to dict
show = show_def["show"] # other keys may exists for description of file (eg "author"), not needed for show
new_file_name = generate_show(show, output_file, "pdf")
Metadata
Release files for karurada 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| karurada-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / karurada-0.0.1-py3-none-any.whl
| Download URL | karurada-0.0.1-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bd837b8e1ea4f85c4e9c218f68a348eec51ead856babe3e8f7a6e6abd84f8eb
|
|
BLAKE2b-256 checksum How to use checksums |
fed18b3694183f8e0485d6b1b4740f005719816867f56b1407e0fb96b001b407
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|