Metadata-Version: 2.4
Name: dhclients
Version: 0.1.0
Summary: DARIAH Python client library for repository.dariah.de access.
Author: Stefan Hynek, Ubbo Veentjer
Author-email: Stefan Hynek <hynek@sub.uni-goettingen.de>, Ubbo Veentjer <veentjer@sub.uni-goettingen.de>
License-Expression: LGPL-3.0-or-later
Requires-Dist: requests>=2.34.2
Requires-Python: >=3.10
Description-Content-Type: text/markdown

<!--
SPDX-FileCopyrightText: 2026 Georg-August-Universität Göttingen

SPDX-License-Identifier: CC0-1.0
-->

# DHRep Python clients

The DHRep Python clients provide access to the [DARIAH Repository](https://repository.de.dariah.eu/)
services [API](https://doc.repository.de.dariah.eu/).

## Installation and Usage

```sh
pip install dhclients
```

## Development

### Pre-Commit

install pre-commmit

```sh
uv tool install pre-commit --with pre-commit-uv
uv run pre-commit install
```


### Running integration tests

We run integration tests against the dev repo (trep)

Get your auth token by log in on publikator: https://trep.de.dariah.eu/publikator/mainView
click on "Show storage token", copy your token and add to env

```sh
DHREP_ENDPOINT=development DARIAH_STORAGE_TOKEN=my-secret-token-here uv run pytest --integration
```
