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
Raw data
{
"_id": null,
"home_page": "https://github.com/vitorsilverio/dspace-client",
"name": "dspace-client",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11,<4.0",
"maintainer_email": "",
"keywords": "dspace,rest",
"author": "V\u00edtor",
"author_email": "vitor.silverio.rodrigues@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a4/7a/95bec3afa5fb97d9e0cf3c80a8d80d44dcb17f0d996f48f3f6d2af148d92/dspace_client-0.3.1.tar.gz",
"platform": null,
"description": "DSpace rest client for v7 or above\n=====================================\n[![PyPI version](https://badge.fury.io/py/dspace-client.svg)](https://badge.fury.io/py/dspace-client)\n## Using\n```\npip install dspace-client\n```\non code:\n```python\nfrom dspace import DSpaceClient\n\nclient = DSpaceClient(\"https://api7.dspace.org/server/\")\nclient.login(\"dspacedemo+admin@gmail.com\", \"dspace\")\nprint(client.get_items())\n```\n\n## Goals\n- [ ] Implement all endpoints on DSpace Rest Contract\n- [ ] Configurable by default\n- [ ] All authentication methods\n- [ ] Async support\n\n## Features\n- Authenticaion using login/password\n- Autorefresh token\n- Auto XSRF token\n- Objects are pydantic friendly not dicts\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "DSpace Rest Client for Python",
"version": "0.3.1",
"project_urls": {
"Homepage": "https://github.com/vitorsilverio/dspace-client",
"Repository": "https://github.com/vitorsilverio/dspace-client"
},
"split_keywords": [
"dspace",
"rest"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dbae3baa0de4e525b2a8616fc878cf4d81ba6186c3552d2c847498d51f9c8992",
"md5": "d7a1a5518bcc6f68b67f778b8df418d9",
"sha256": "1b463df0c3209d48f04b7c1e7886afb3941598e4dcc860dd6574be9be87ca407"
},
"downloads": -1,
"filename": "dspace_client-0.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d7a1a5518bcc6f68b67f778b8df418d9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11,<4.0",
"size": 6038,
"upload_time": "2023-10-09T00:11:28",
"upload_time_iso_8601": "2023-10-09T00:11:28.830224Z",
"url": "https://files.pythonhosted.org/packages/db/ae/3baa0de4e525b2a8616fc878cf4d81ba6186c3552d2c847498d51f9c8992/dspace_client-0.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a47a95bec3afa5fb97d9e0cf3c80a8d80d44dcb17f0d996f48f3f6d2af148d92",
"md5": "f73b072a3bf25cc7334d1e642c1559cb",
"sha256": "e2475cdba1ba86a27fdc2d5f39bd5d761f1928aa57940273bd73727930266d84"
},
"downloads": -1,
"filename": "dspace_client-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "f73b072a3bf25cc7334d1e642c1559cb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11,<4.0",
"size": 5068,
"upload_time": "2023-10-09T00:11:30",
"upload_time_iso_8601": "2023-10-09T00:11:30.429395Z",
"url": "https://files.pythonhosted.org/packages/a4/7a/95bec3afa5fb97d9e0cf3c80a8d80d44dcb17f0d996f48f3f6d2af148d92/dspace_client-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-09 00:11:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "vitorsilverio",
"github_project": "dspace-client",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dspace-client"
}