Metadata-Version: 2.3
Name: pretalx-client
Version: 0.1.1
Summary: Standalone Python client for the Pretalx REST API
Keywords: pretalx,conference,schedule,api,client
Author: Jacob Coffee
Author-email: Jacob Coffee <jacob@python.org>
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: httpx>=0.28.1
Requires-Python: >=3.14
Project-URL: Documentation, https://github.com/JacobCoffee/django-program
Project-URL: Issue Tracker, https://github.com/JacobCoffee/django-program/issues
Project-URL: Repository, https://github.com/JacobCoffee/django-program
Description-Content-Type: text/markdown

# pretalx-client

[![PyPI](https://img.shields.io/pypi/v/pretalx-client)](https://pypi.org/project/pretalx-client/)
[![Docs](https://img.shields.io/badge/docs-GitHub%20Pages-blue)](https://jacobcoffee.github.io/django-program/pretalx-client/)

Standalone Python client for the [Pretalx](https://pretalx.com) REST API.

| Link | |
|------|---|
| PyPI | https://pypi.org/project/pretalx-client/ |
| Docs | https://jacobcoffee.github.io/django-program/pretalx-client/ |

## Installation

```bash
pip install pretalx-client
```

## Usage

```python
from pretalx_client import PretalxClient

client = PretalxClient("pycon-us-2026", api_token="your-token")

speakers = client.fetch_speakers()
talks = client.fetch_talks()
schedule = client.fetch_schedule()
```

## Features

- Typed dataclass responses (`PretalxSpeaker`, `PretalxTalk`, `PretalxSlot`)
- Automatic pagination handling
- Multilingual field resolution
- Fallback from `/talks/` to `/submissions/` when the talks endpoint is unavailable
- Support for authenticated and public API access

## Requirements

- Python 3.14+
- httpx

## License

MIT
