Metadata-Version: 2.3
Name: samaki
Version: 0.4.9
Summary: samaki agent for python
Author: liming
Author-email: liming <liming@cm.edu.kg>
Requires-Dist: aiohttp>=3.14.1
Requires-Dist: croniter>=6.2.3
Requires-Dist: ecdsa>=0.19.2
Requires-Dist: fastapi>=0.139.0
Requires-Dist: cryptography>=44.0.0
Requires-Dist: noiseprotocol>=0.3.1
Requires-Dist: psutil>=7.2.2
Requires-Dist: pydantic>=2.13.4
Requires-Dist: starlette>=1.3.1
Requires-Dist: uvicorn>=0.49.0
Requires-Dist: websockets>=16.0
Requires-Dist: eciespy>=0.4.6 ; extra == 'speed'
Requires-Dist: pycryptodome>=3.23.0 ; extra == 'speed'
Requires-Python: >=3.10
Provides-Extra: speed
Description-Content-Type: text/markdown

# Samaki

Samaki is a Python agent that can be configured using environment variables and run from the command line.

## Configuration

Set the required public keys before starting Samaki:

```bash
export ECDSA_PUBKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
export ECIES_PUBKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
export KPORT=8000
```

### Environment Variables

- `ECDSA_PUBKEY`: The ECDSA public key used for signature verification.
- `ECIES_PUBKEY`: The ECIES public key used for encryption.
- `KPORT`: The port on which the agent listens. The default port is `8000`.

## Installation and Usage

### Using pip

Install Samaki from PyPI:

```bash
pip install samaki
```

Start the agent:

```bash
samaki
```

### Using uv

Run Samaki without installing it permanently:

```bash
uv run --with samaki samaki
```
