Skip to main content

TivelWeb

TivelWeb is a lightweight Python library for building responsive static websites without writing all the HTML and CSS yourself.

Install locally

cd tivelweb
python -m venv .venv
source .venv/bin/activate
pip install -e .

Build your first website

from tivelweb import Site, hero, section

site = Site("My Website", theme_color="#6c5ce7")
home = site.page("Home", description="My first Python website")
home.add(hero("Welcome", "This website was built using Python.", "Learn more", "#about"))
home.add(section("About", "TivelWeb generates fast static HTML."))
site.build()

Run the file, then preview the generated dist folder:

python app.py
tivelweb serve dist

Open http://127.0.0.1:8000.

Commands

tivelweb new mywebsite
cd mywebsite
python app.py
tivelweb serve dist

Features

  • Responsive pages and navigation
  • Hero, section, card, button, and image components
  • Multiple pages
  • Custom theme colors
  • Static asset copying
  • Built-in local preview server
  • No runtime dependencies

Test

python -m unittest discover -s tests

License

MIT

Metadata

Release files for tivelweb 0.1.0

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

Source distribution (sdist)

Source distribution for tivelweb 0.1.0
File Size Uploaded
tivelweb-0.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tivelweb 0.1.0
File Interpreter ABI Platform
tivelweb-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / tivelweb-0.1.0.tar.gz

Download URL tivelweb-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
69213661caa462e7ba47f9dcb571a7fa74b1d7a6faf39a20c26eff10176f06b1
BLAKE2b-256 checksum
How to use checksums
273f165aa3c7ad3e24a37cffc09029f48a0c57bceaf1cbc3d5c9245cabb4bb09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / tivelweb-0.1.0-py3-none-any.whl

Download URL tivelweb-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b41e0404a9c90a294ef872c0cc56ab868348ac1a5767db38c48587cdfdb71f9
BLAKE2b-256 checksum
How to use checksums
9209c8aaddef08ff3f9702352c72693b5142f9cc573be6ce66364fb88c56ff3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release history Release notifications | RSS feed

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 This release

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