Go to file
Alfredo Oliviero 2248caa410 fixing d4science social 2025-05-13 20:22:14 +02:00
.vscode fixing d4science social 2025-05-13 20:22:14 +02:00
configs fixing d4science social 2025-05-13 20:22:14 +02:00
d4science fixing d4science social 2025-05-13 20:22:14 +02:00
.gitignore moved to pydantic 2025-04-07 17:30:30 +02:00
CHANGELOG.md readme and license 2025-04-07 16:47:36 +02:00
FUNDING.md readme and license 2025-04-07 16:47:36 +02:00
LICENSE.md readme and license 2025-04-07 16:47:36 +02:00
README.md readme and license 2025-04-07 16:47:36 +02:00
requirements.txt renamed workspace to storagehub 2025-04-08 09:57:42 +02:00
setup.py renamed workspace to storagehub 2025-04-08 09:57:42 +02:00

README.md

D4Science Python Library

A Python library that provides authentication, configuration, and workspace client functionalities for the D4Science infrastructure. This project offers an OAuth-based system for accessing various D4Science services, as well as utilities for configuring, storing, and managing credentials.

Structure of the project

  • d4science/auth.py
    Provides token management, including retrieval and refresh.
  • d4science/config.py
    Loads environment-specific settings and handles credential storage.
  • d4science/clients.py
    Contains the helper function to create an OAuth client using requests-oauthlib.
  • d4science/workspace.py
    Implements the WorkspaceClient for retrieving and manipulating workspace items.
  • scripts/d4science_cli.py
    Command-line interface for authenticating and testing API interactions (e.g., retrieving workspace items).

Built With

Documentation

See additional documentation in the docs folder or the project wiki.

Change log

See CHANGELOG.md.

Authors

How to Cite this Software

If you use this software in a publication, please cite:

@Manual{,
  title  = {D4Science Python Library},
  author = {{Infrascience Group}},
  organization = {ISTI - CNR},
  address = {Pisa, Italy},
  year   = 2025,
  note   = {Accessed from repository},
  url    = {https://www.gcube-system.org/}
}

License

This project is licensed under the license EUPL V. 1.2 - see the LICENSE.md file for details.

About the gCube Framework

This software is part of the gCubeFramework: an open-source software toolkit used for building and operating Hybrid Data Infrastructures enabling the dynamic deployment of Virtual Research Environments by favouring the realisation of reuse oriented policies.

The projects leading to this software have received funding from a series of European Union programmes see FUNDING.md