Skip to main content

kraken_html

How to use

from kraken_html import kraken_html as m



Quick start

Records

Converts a record into a HTML record, where url are transformed as a links for example

HTML record format

from kraken_html import kraken_html as m

record = {...}
html_record = m.html_record.html_record(record)

HTML record list

from kraken_html import kraken_html as m

records = [{...}, {...}]
records_list = m.html_record.to_list(records)

HTML record form

from kraken_html import kraken_html as m

record = {...}
record_form = m.html_record.to_json(record)

Pages

Pages are full website pages that includes navigation, heaters and footers.

from kraken_html import kraken_html as m

page_content = 'some content...'
webpage = m.pages.blank(page_content)

Sections

Sections are components of pages, building blocks to build full pages

Hero

Image with key benefit

record = {
    "headline": "Headline 1",
    "text": "Some text"
}

theme = 'dark'
page_content = m.section.hero(record, theme)
webpage = m.pages.blank(page_content)

Metadata

Release files for kraken-html 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kraken-html 0.1.6
File Size Uploaded
kraken-html-0.1.6.tar.gz 26.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kraken-html 0.1.6
File Interpreter ABI Platform
kraken_html-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 72.3 kB

Release files / kraken-html-0.1.6.tar.gz

Download URL kraken-html-0.1.6.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c781daa746f29dd94d1091f54a5e907b839613b32edc5ee601a78e444c0b39f8
BLAKE2b-256 checksum
How to use checksums
036c379f649d547735a2a1018acc2f631dcd8fde80f61df775c959c75d9ab2b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / kraken_html-0.1.6-py3-none-any.whl

Download URL kraken_html-0.1.6-py3-none-any.whl
Size 45.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d5fcf69ad992e9bbcd0ab0698e072287ae3b7d929d1f3193c72dfd1be5c4519
BLAKE2b-256 checksum
How to use checksums
66e378c546d128105d98c1246271efc51b633c9ae5f47266a10c1c4dcb1fdce9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.10

2 release files

0.0.8

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page