Metadata-Version: 2.3
Name: pepr-client
Version: 1.1.2
Summary: A simple python client for reading PEPR actions.
Author: Åsmund Våge Fannemel
Author-email: Åsmund Våge Fannemel <34712686+asmfstatoil@users.noreply.github.com>
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: requests>=2.34.2,<3
Requires-Dist: msal-bearer>=1.6.1
Requires-Python: >=3.10, <4
Description-Content-Type: text/markdown

# pepr-python-client

A Python client for reading actions, subtasks, losses, facilities and generic flag definitions from the [PEPR API](https://api.gateway.equinor.com/pepr).

## Quick start

```sh
pip install pepr-client
```

```python
from pepr_client import Action

action = Action(80302255)  # Replace with a PEPR action ID you can access.
print(action.title)
```

- [API reference](docs/api.md) for the public classes and their properties.
- [Examples](examples/demo.py) and a [subtask example](examples/demo_subtasks.py).
- [Release notes](RELEASE_NOTES.md).

## Development

Run `uv sync`, then `uv run pytest --cov --cov-report=html`. Live tests require PEPR API access.
