Metadata-Version: 2.4
Name: trading-service-utils
Version: 0.1.4
Summary: Shared utilities for trading system services
Requires-Python: >=3.12
Requires-Dist: httpx>=0.28.1
Requires-Dist: python-telegram-bot>=20.0
Requires-Dist: requests>=2.32.0
Description-Content-Type: text/markdown

# Trading Service Utils

Shared utilities for the trading system microservices.

## Features

- **Logging**: Standardized logging configuration with hostname injection and health check filtering. [Read Documentation](docs/logging.md)
- **Fetcher**: API clients and helpers for various markets (Polymarket, etc.). [Read Documentation](docs/fetcher.md)

## Installation

```bash
pip install trading-service-utils
```

## Usage

### Logging

See [docs/logging.md](docs/logging.md) for full details.

```python
from trading_service_utils import setup_logging

setup_logging(log_level="INFO")
```

### Polymarket Fetcher

See [docs/fetcher.md](docs/fetcher.md) for full details.

```python
from trading_service_utils.fetcher import fetch_event

event = fetch_event("event_id")
```
