Registry / web-framework / lia-web

lia-web

JSON →
library0.3.1pypypi✓ verified 22d ago

The `lia-web` package has been renamed to `cross-web`. This entry describes `cross-web`, which provides a unified, framework-agnostic interface for common web framework operations, allowing developers to write code that can easily adapt to various Python web frameworks like FastAPI, Flask, and Django. It is currently in early development. The latest version of `cross-web` is 0.4.1, released on January 9, 2026.

pip install cross-web
INSTALL
IMPORT
SIG · LIA-WEB
L
lia-web
web-frameworkpythonv0.3.1
Install
1.6s avg
Import
71ms
Disk
101MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.074s · 66.2MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 1.6s · import 0.068s · 137MB
101MB installed
● package 101MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HTTPRequest
from cross_web import HTTPRequest
from crossweb import CrossAdapter
AsyncHTTPRequest
from cross_web import AsyncHTTPRequest
from crossweb import CrossAdapter
Response
from cross_web import Response
from crossweb import CrossAdapter

This quickstart demonstrates a hypothetical initialization of a `CrossAdapter` object from the `crossweb` library. As `cross-web` is in early development and primarily focuses on providing a unified interface for web framework operations, specific code examples are not yet widely available in public documentation. This snippet infers a possible entry point and usage pattern.

import os from crossweb import CrossAdapter # Placeholder for framework-agnostic application setup # In a real scenario, this would integrate with a specific web framework (e.g., Flask, FastAPI) # and CrossAdapter would provide utilities. # Example: Initialize an adapter (inferred usage) try: app_adapter = CrossAdapter() print("CrossAdapter initialized successfully.") # Example of a generic operation (inferred) # This part is highly speculative without official code examples. # print(app_adapter.get_current_request_context()) except ImportError: print("crossweb library not found. Please install with 'pip install cross-web'.") except Exception as e: print(f"An error occurred during CrossAdapter initialization: {e}")
Debug
Known issues
breakingThe `lia-web` package has been renamed to `cross-web`. Users should migrate to `cross-web` as `lia-web` is no longer maintained and installs an older, deprecated version. Functionality and APIs may differ significantly.
fix
Uninstall `lia-web` and install `cross-web` using `pip uninstall lia-web && pip install cross-web`.
affects: All `lia-web` versions (0.x.x)
gotchaThe `cross-web` library is in early development. This implies that APIs, functionality, and stability may change frequently without strict backward compatibility guarantees.
fix
Monitor the official GitHub repository for updates and breaking changes. Pin your dependency versions to specific releases to avoid unexpected breakage.
affects: All `cross-web` versions (0.x.x)
gotchaAvoid using mutable objects (like lists or dictionaries) as default arguments in function definitions within `cross-web` callbacks or extensions. This can lead to unexpected state sharing and bugs across multiple function calls.
fix
Use `None` as a default value, and initialize the mutable object inside the function if `None` is provided. E.g., `def my_func(arg, my_list=None): if my_list is None: my_list = []`
affects: All Python versions, applicable to `cross-web` usage
Upgrade
Version history
0.3.1latest on PyPI · released Dec 25, 2025
Audit
Dependencies
pythonrequiredRequires Python 3.9 or newer.
Agent activity
5 hits · last 30 days
node
4
Resources
lia-web — pip install lia-web · libregistry