|
||
---|---|---|
.vscode | ||
configs | ||
d4science | ||
.gitignore | ||
CHANGELOG.md | ||
FUNDING.md | ||
LICENSE.md | ||
README.md | ||
requirements.txt | ||
setup.py |
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
- Python 3.x - Primary language
- Requests - HTTP library
- Requests-OAuthlib - OAuth management
- pytest (opzionale) - For running tests
Documentation
See additional documentation in the docs folder or the project wiki.
Change log
See CHANGELOG.md.
Authors
- Alfredo Oliviero (ORCID) - CNR-ISTI Infrascience Group
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