Metadata-Version: 2.1
Name: dspace-client
Version: 0.3.1
Summary: DSpace Rest Client for Python
Home-page: https://github.com/vitorsilverio/dspace-client
License: MIT
Keywords: dspace,rest
Author: Vítor
Author-email: vitor.silverio.rodrigues@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: httpx (>=0.24.1,<0.26.0)
Requires-Dist: pydantic (>=2.0.2,<3.0.0)
Requires-Dist: pyjwt (>=2.6.0,<3.0.0)
Project-URL: Repository, https://github.com/vitorsilverio/dspace-client
Description-Content-Type: text/markdown

DSpace rest client for v7 or above
=====================================
[![PyPI version](https://badge.fury.io/py/dspace-client.svg)](https://badge.fury.io/py/dspace-client)
## Using
```
pip install dspace-client
```
on code:
```python
from dspace import DSpaceClient

client = DSpaceClient("https://api7.dspace.org/server/")
client.login("dspacedemo+admin@gmail.com", "dspace")
print(client.get_items())
```

## Goals
- [ ] Implement all endpoints on DSpace Rest Contract
- [ ] Configurable by default
- [ ] All authentication methods
- [ ] Async support

## Features
- Authenticaion using login/password
- Autorefresh token
- Auto XSRF token
- Objects are pydantic friendly not dicts

