Package coscine
Coscine Python SDK
The Coscine Python SDK is an open source python package providing a pythonic interface to the Coscine REST API. It is compatible with Python versions 3.7+.
Please note that this python module is developed and maintained by the scientific community and even though Copyright remains with RWTH Aachen, it is not an official service that RWTH Aachen provides support for.
Expand source code
###############################################################################
# Coscine Python SDK
# Copyright (c) 2018-2022 RWTH Aachen University
# Licensed under the terms of the MIT License
# #############################################################################
# Coscine, short for Collaborative Scientific Integration Environment is
# a platform for research data management (RDM).
# For more information on Coscine visit https://www.coscine.de/.
#
# Please note that this python module is open source software primarily
# developed and maintained by the scientific community. It is not
# an official service that RWTH Aachen provides support for.
###############################################################################
###############################################################################
# File description
###############################################################################
"""
Coscine Python SDK
The Coscine Python SDK is an open source python package providing
a pythonic interface to the Coscine REST API. It is compatible
with Python versions 3.7+.
Please note that this python module is developed and maintained
by the scientific community and even though Copyright remains with
RWTH Aachen, it is not an official service that RWTH Aachen
provides support for.
"""
###############################################################################
# Dependencies
###############################################################################
from .config import Config
from .logger import Logger, LogLevel
from .exceptions import *
from .client import Client
from .project import Project, ProjectMember, ProjectForm
from .resource import Resource, ResourceForm
from .object import FileObject, MetadataForm
from .graph import ApplicationProfile
###############################################################################
Sub-modules
coscine.cache-
This file implements a basic persistent cache for nonvolatile Coscine data such as metadata vocabularies. The data is automatically refreshed every …
coscine.client-
This file contains the backbone of the Coscine Python SDK - the client class. The client class acts as the manager of the SDK and is mainly …
coscine.config-
This file provides an easy way of reading coscine-python-sdk config files.
coscine.defaults-
This file defines default and constant data internally used by multiple modules to avoid redefinitions.
coscine.exceptions-
This file defines all of the exceptions raised by the Coscine Python SDK. The base exception class is called CoscineException. It directly inherits …
coscine.form-
This file provides base class for all input forms defined by the Coscine Python SDK.
coscine.graph-
This file provides a simple wrapper around Coscine application profiles. It abstracts the interaction with rdf graphs using rdflib and provides an …
coscine.logger-
This file provides a simple logger internally used by the Coscine Python SDK. The logger is capable of printing information to a specified file …
coscine.object-
Implements classes and routines for manipulating Metadata and interacting with files and file-like data in Coscine.
coscine.project-
This file defines the project object for the representation of Coscine projects. It provides a simple interface to interact with Coscine projects from …
coscine.resource-
This file defines the resource object for the representation of Coscine resources. It provides an easy interface to interact with Coscine resources …
coscine.utils-
This file contains utility classes and functions, mostly taken from another source like StackOverflow. Credit is given where it is due.
coscine.vocabulary-
This file implements various classes for querying, parsing and interacting with data inside Coscine vocabularies.