Skip to content

SoftwareVerse/userverse-python-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecov

userverse-python-client

Python client for the Userverse HTTP server.

Installation

Create and activate a virtual environment, then install the project in editable mode:

linux configuration

uv venv
source .venv\Scripts\activate
uv pip install -e .

windows configuration

uv venv
.venv\Scripts\activate
uv pip install -e .

Usage

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.py

Tests

Run the unit tests with:

python -m unittest discover -s tests -v

## uv run tests
uv run python -m unittest discover -s tests -v

About

Python client for Userverse HTTP server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages