Skip to main content

html framework

Project description

weba

Release Build status codecov Commit activity License

Weba is a Python library for building web user interfaces using a declarative, component-based approach. It provides a clean API for creating HTML elements and components with proper context management and type safety. The library extends BeautifulSoup's functionality by adding a custom Tag class that supports modern web development patterns, including HTMX integration, class list manipulation, and comment-based selectors. It allows developers to create reusable UI components with proper isolation, supports both synchronous and asynchronous contexts, and handles attribute management (including JSON serialization) elegantly. The library emphasizes type safety and follows clean code practices, making it particularly suitable for building modern web applications in Python with a focus on maintainability and developer experience.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weba-0.2.4.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weba-0.2.4-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file weba-0.2.4.tar.gz.

File metadata

  • Download URL: weba-0.2.4.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for weba-0.2.4.tar.gz
Algorithm Hash digest
SHA256 b6add7b1175b13c8e3f92b7ea5ca498a92e46871dde542db0bbe435b9184abab
MD5 bd3e7538c029b5547a803c7ac402334a
BLAKE2b-256 4813e37d559ca13904db780873219b3c09874bad447055858327700acdd40f7e

See more details on using hashes here.

File details

Details for the file weba-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: weba-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for weba-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 151b419bef97134bc2a9cb78803e0ea74fc692ab96cf400d595c4e3952262b7a
MD5 55a3757be8e26529a985621721d0097b
BLAKE2b-256 0d9368526f3d39d0fb1a40c670e654b31c2886a82aab9e17545d35c2191facd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page