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
muslpy 3.10–3.910 runs
installs and imports cleanly · install 0.0s · import 0.074s · 66.2MB
glibcpy 3.10–3.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.fixUninstall `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.fixMonitor 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.fixUse `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.