Python client for the Userverse HTTP server.
Create and activate a virtual environment, then install the project in editable mode:
uv venv
source .venv\Scripts\activate
uv pip install -e .uv venv
.venv\Scripts\activate
uv pip install -e .The package currently exposes a greeting helper and a simple arithmetic function. The example below prints both results:
from userverse_python_client import add_numbers, hello
print(hello())
print(add_numbers(1.5, 2.5))You can also run the bundled example module:
python examples/demo.py
##uv run
uv run python examples/demo.pyRun the unit tests with:
python -m unittest discover -s tests -v
## uv run tests
uv run python -m unittest discover -s tests -v