Metadata-Version: 2.4
Name: relayway
Version: 0.1.0
Summary: Python SDK for background job processing via Relayway API
Author: Mario Gegprifti
License-Expression: MIT
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.0
Requires-Dist: fastapi>=0.100
Dynamic: license-file

# relayway

Python helper for enqueueing background jobs via the Relayway API.

## Installation

```bash
pip install .
```

## Run tests

```bash
uv run --group dev pytest -q
```

## Configuration

`relayway.configure(api_key=...)` is optional: the SDK reads the API key from `RELAYWAY_API_KEY` automatically (for example, from a `.env` file if your application loads it into environment variables).

## Usage

```python
from relayway import configure, background

configure(api_key="demo")

@background()
def send_email(user_id, payload):
    pass  # The decorated function never runs locally.

response = send_email(123, {"subject": "hello"})
print(response["job_id"])
```
