datalad-metalad-extractor-template
This repository contains a template to create datalad-metalad extractors. It contains an example for a dataset-level extractor and for a file-level extractor
https://github.com/datalad/datalad-metalad-extractor-template
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.3%) to scientific vocabulary
Repository
This repository contains a template to create datalad-metalad extractors. It contains an example for a dataset-level extractor and for a file-level extractor
Basic Info
- Host: GitHub
- Owner: datalad
- License: other
- Language: Python
- Default Branch: master
- Size: 31.3 KB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
DataLad extension template
This repository contains an extension template that can serve as a starting point for implementing a DataLad extension. An extension can provide any number of additional DataLad commands that are automatically included in DataLad's command line and Python API.
For a demo, clone this repository and install the demo extension via
pip install -e .
DataLad will now expose a new command suite with a hello... command.
% datalad --help |grep -B2 -A2 hello
*Demo DataLad command suite*
hello-cmd
Short description of the command
To start implementing your own extension, use this template, and adjust as necessary. A good approach is to
- Pick a name for the new extension.
- Look through the sources and replace
datalad_helloworldwithdatalad_<newname>(hint:git grep datalad_helloworldshould find all spots). - Delete the example command implementation in
datalad_helloworld/__init__.pyby (re)moving theHelloWorldclass. - Implement a new command, and adjust the
command_suiteindatalad_helloworld/__init__.pyto point to it. - Replace
hello_cmdwith the name of the new command indatalad_helloworld/tests/test_register.pyto automatically test whether the new extension installs correctly. - Adjust the documentation in
docs/source/index.rst. Refer todocs/README.mdfor more information on documentation building, testing and publishing. - Replace this README.
- Update
setup.cfgwith appropriate metadata on the new extension.
You can consider filling in the provided .zenodo.json file with contributor information and meta data to acknowledge contributors and describe the publication record that is created when you make your code citeable by archiving it using zenodo.org. You may also want to consider acknowledging contributors with the allcontributors bot.
Owner
- Name: DataLad
- Login: datalad
- Kind: organization
- Email: team@datalad.org
- Location: USA&Germany
- Website: http://datalad.org
- Repositories: 97
- Profile: https://github.com/datalad
Data distribution and management platform
GitHub Events
Total
Last Year
Dependencies
- actions/checkout v1 composite
- actions/setup-python v1 composite
- actions/checkout v1 composite
- actions/setup-python v1 composite
- coverage * development
- nose * development
- sphinx * development
- sphinx_rtd_theme * development