Metadata-Version: 2.4
Name: syfwb
Version: 0.1.0
Summary: syf's work bench - common development utilities
Author-email: shenyufan <shenyufan@example.com>
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: openai>=1.0.0
Requires-Dist: tenacity>=8.0.0

# syfwb (syf's work bench)

Common development utilities for Python projects.

## Features

- **IO**: Easy read/write for JSON and JSONL files.
- **Client**: Wrapper for OpenAI API calls.
- **Utils**: Retry mechanisms for robust function execution.

## Usage

```python
from syfwb import io, client, utils

# JSON IO
data = io.read_json("data.json")
io.write_jsonl("output.jsonl", data)

# OpenAI
response = client.call_openai(messages=[...])

# Retry
@utils.retry(max_attempts=3)
def unstable_func():
    ...
```
