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

This version

0.2.9

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.9.tar.gz (23.7 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.9-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: weba-0.2.9.tar.gz
  • Upload date:
  • Size: 23.7 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.9.tar.gz
Algorithm Hash digest
SHA256 2486437cf70399bed0fa6a04d7fd13aa1b74aa427835c7fdf21bf43f0b22f496
MD5 6d2f6549c8e5b9f50b552388086b929a
BLAKE2b-256 ad501f29eb24a446f10ceacc41a1cb54e78120bb2c6007a1008ad8a26774cbfb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: weba-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 15.0 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca344b75c6b914f4761b8c3c4ed6947c26299c2a06accc8d865092e38c67098
MD5 a49f764269e8c7abf1a4bf43cd20660a
BLAKE2b-256 e8636e12e3deebc39c39c0e3a7d329031275bfa42978678161166a4d16c64e73

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