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.1.tar.gz (11.8 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.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for weba-0.2.1.tar.gz
Algorithm Hash digest
SHA256 552ea6b162ef45f4a613a80c84e61e9cdf0e7b205666402e0ae21f3ba1eeb6f7
MD5 ae15751c8159c7904b9ad941623d77c8
BLAKE2b-256 09ff158715d7bbd35c79cf94f6414d964ce728780dc87961f45c4c2d617c87fe

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for weba-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a01fbd0b5ebfb66b0fdf54dba8340c263f048c293d1ba87f0b3260b158e570d
MD5 0b8a55771d7290599bcb796848064b29
BLAKE2b-256 70878b9371e451338628d406b17f4383a969695c3c0f61a8d5539efeda9239ef

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