Python GUI tool to collect metadata for DSP projects.
Project description
DSP-METADATA-GUI Metadata Module
The dsp-metadata-gui
is a GUI application written in Python for collecting project specific metadata
and turn it into RDF.
As part of the dsp-tools
, its aim is to enable researchers and project managers who deposit research data on the DSP (DaSCH Service Platform), to add metadata about the project and datasets to the DSP repository. By providing metadata, the project will be findable on the platform, which is an integral part of the FAIR principles.
The metadata follows the schema defined by the dsp-ontologies.
Install and run
The module provides a command line entry point to run the GUI. The only requirement is Python 3 and PIP installed and ready to use.
The application has only been tested on Python 3.9, but it might work on older versions too.
Note: There have been issues with conda
installations. If this is the case, consider using a virtual environment.
Installation via pip
{==
Note:
Due to some issues with the automatic installation of dependencies, the following three packages must be installed manually, before installing the tool itself:
validators
isodate
wxPython
To install the application from there, run:
pip install validators isodate wxPython
or
pip3 install validators isodate wxPython
==}
To install the application, run:
pip install dsp-metadata-gui
Or respectively:
pip3 install dsp-metadata-gui
{==
Note:
Until the first release of the tool, it is available only on the PYPI test instance.
To install the application from there, run:
pip install -i https://test.pypi.org/simple/ dsp-metadata-gui
or
pip3 install -i https://test.pypi.org/simple/ dsp-metadata-gui
==}
Afterwards, the program can be started by running the command dsp-metadata
in your terminal of choice.
Installation from source
Clone this repo and run make run
. If you don't use GNU Make, run the commands specified in the Makefile
manually.
This will package the application, install it to your python environment and run the application.
Usage
The Application is divided into two widows:
-
The main window lets you organize a list of projects, for which you can collect metadata. Several actions can be performed with projects, e.g. editing or exporting the project.
-
When editing a project, in the project window, the actual metadata can be added, modified and saved.
To add a project, you will need the project short code, which is assigned to you by the DaSCH Client Service.
A project is always associated with a folder on your local machine. If any files should be included with the metadata import, these files must be within that folder.
Once all metadata are added and valid, and the overall DRF graph of the metadata set validates against the ontology, the project can be exported for upload to the DSP.
All data is locally stored in the file ~/DaSCH/config/repos.data
. for more detail, see here.
{== TODO: fix this link in readme (works in doc) ==}
Documentation
The documentation is created using mkdocs
and mkdocstrings
with markdown_include.include
. To create the documentation, make sure to install all of these, using pip.
To serve the documentation locally, run make doc
. To deploy the documentation to github pages, run make deploy-doc
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dsp-metadata-gui-0.0.0rc3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3610a077e2eed5cb30ebb775beac22e1529e16018c9d93305b7c2818355c67c1 |
|
MD5 | 4a41ac935edc41e42d0e30543d6e490a |
|
BLAKE2b-256 | 0f1341fbd1417a251330fb76b376c0c0679eec7d255e6fc817d8fde88417af3e |
Hashes for dsp_metadata_gui-0.0.0rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e36ef4e782664c6b354f8f2f3b57f6a50b478c335f8a23d0d6a969cd467f91d |
|
MD5 | 8d2a29f695576efb7e445b3354e35e82 |
|
BLAKE2b-256 | eb317982b1c70f3e8d9929e0a2349e2e070ef944dd9b606c7f4c617d0ee7da46 |