Skip to main content

DSpace Rest Client for Python

Project description

DSpace rest client for v7 or above

PyPI version

Using

pip install dspace-client

on code:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dspace_client-0.3.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dspace_client-0.3.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file dspace_client-0.3.1.tar.gz.

File metadata

  • Download URL: dspace_client-0.3.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.0 Windows/10

File hashes

Hashes for dspace_client-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e2475cdba1ba86a27fdc2d5f39bd5d761f1928aa57940273bd73727930266d84
MD5 f73b072a3bf25cc7334d1e642c1559cb
BLAKE2b-256 a47a95bec3afa5fb97d9e0cf3c80a8d80d44dcb17f0d996f48f3f6d2af148d92

See more details on using hashes here.

File details

Details for the file dspace_client-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: dspace_client-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.0 Windows/10

File hashes

Hashes for dspace_client-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b463df0c3209d48f04b7c1e7886afb3941598e4dcc860dd6574be9be87ca407
MD5 d7a1a5518bcc6f68b67f778b8df418d9
BLAKE2b-256 dbae3baa0de4e525b2a8616fc878cf4d81ba6186c3552d2c847498d51f9c8992

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page