{"id":30799444,"url":"https://github.com/rdmorganiser/rdmo-plugins-somef","last_synced_at":"2025-09-05T19:12:19.454Z","repository":{"id":209829572,"uuid":"724651917","full_name":"rdmorganiser/rdmo-plugins-somef","owner":"rdmorganiser","description":"RDMO Project Import plugin for SMPs using SOMEF","archived":false,"fork":false,"pushed_at":"2024-10-10T09:53:08.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-04T19:45:54.060Z","etag":null,"topics":["data-management-plan","metadata-extraction"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdmorganiser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-11-28T14:16:18.000Z","updated_at":"2023-12-15T12:13:21.000Z","dependencies_parsed_at":"2024-02-27T12:30:19.998Z","dependency_job_id":"a5a9af61-c11d-4092-b028-851548f10fe5","html_url":"https://github.com/rdmorganiser/rdmo-plugins-somef","commit_stats":null,"previous_names":["rdmorganiser/rdmo-plugins-somef"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rdmorganiser/rdmo-plugins-somef","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmorganiser%2Frdmo-plugins-somef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmorganiser%2Frdmo-plugins-somef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmorganiser%2Frdmo-plugins-somef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmorganiser%2Frdmo-plugins-somef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdmorganiser","download_url":"https://codeload.github.com/rdmorganiser/rdmo-plugins-somef/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdmorganiser%2Frdmo-plugins-somef/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273806204,"owners_count":25171569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-management-plan","metadata-extraction"],"created_at":"2025-09-05T19:12:01.667Z","updated_at":"2025-09-05T19:12:19.446Z","avatar_url":"https://github.com/rdmorganiser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RDMO Plugin SOMEF\nThis plugin imports extracted metadata from the [SOMEF](https://github.com/KnowledgeCaptureAndDiscovery/somef) into RDMO for the SMP catalogue. It can be used for the automated transfer of information in GitHub repositories to RDMO.\n\n## Setup\n\nInstall the plugin in your RDMO virtual environment using pip (directly from GitHub):\n```bash\npip install git+https://github.com/rdmorganiser/rdmo-plugins-somef.git\n```\nThe dependency [`tomli`](https://pypi.org/project/tomli/) will be installed automatically.\n\n### Configuration of rdmo in the rdmo-app\nAdd the `rdmo_plugins_somef` app to your `INSTALLED_APPS` in `config/settings/local.py``:\n```py\nfrom . import INSTALLED_APPS\nINSTALLED_APPS = ['rdmo_plugins_somef'] + INSTALLED_APPS\n```\n\nAdd the export plugins to the PROJECT_IMPORTS in config/settings/local.py:\n```py\nfrom django.utils.translation import gettext_lazy as _\nfrom . import PROJECT_IMPORTS\n\nPROJECT_IMPORTS += [\n    ('somef', _('as somef JSON'), 'rdmo_plugins_somef.imports.somef.SomefImport')\n]\n```\n\n### Local installation of somef in separate python env\n\nThe dependency [`somef`](https://pypi.org/project/somef/) will be installed in a separate environment from rdmo and executed by rdmo via a script with a `subprocess` function call. For the setup of the local `somef` environment an installation of `python 3.9` needs to be present. Please use the following commands to set up the enviroment.\n```bash\nchmod +x rdmo_plugins_somef/imports/scripts/create_somef_env.sh\n./rdmo_plugins_somef/imports/scripts/create_somef_env.sh\n\n# please enable execution of the somef call script as well\nchmod +x rdmo_plugins_somef/imports/scripts/somef_describe.sh\n```\n\nThe local installation of `somef` can be tested with:\n```bash\nsource rdmo_plugins_somef/imports/scripts/env/bin/activate\nsomef describe -r https://github.com/dgarijo/Widoco/ -o test.json -t 0.8\nsomef describe -r https://github.com/rdmorganiser/rdmo -o test.json -t 0.8\n```\n\n\n\n## Acknowledgements\n\nThis plugin `rdmo-plugins-somef`, was created during the maSMP hackathon at [ZB MED](https://www.zbmed.de/en/) sponsored by [NFDI4DataScience](https://www.nfdi4datascience.de/). [NFDI4DataScience](https://www.nfdi4datascience.de/) is a consortium funded by the German Research Foundation (DFG), project number 460234259.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdmorganiser%2Frdmo-plugins-somef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdmorganiser%2Frdmo-plugins-somef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdmorganiser%2Frdmo-plugins-somef/lists"}