some default

Michael Hanke ca26822f4d Ready for code import 1 år sedan
.github 5765452a98 Customize as 'datalad-gooey' extension 1 år sedan
_datalad_buildsupport db7eef06d7 Initial commit 1 år sedan
datalad_gooey ca26822f4d Ready for code import 1 år sedan
docs ca26822f4d Ready for code import 1 år sedan
tools db7eef06d7 Initial commit 1 år sedan
.appveyor.yml 5765452a98 Customize as 'datalad-gooey' extension 1 år sedan
.codeclimate.yml db7eef06d7 Initial commit 1 år sedan
.gitattributes 5765452a98 Customize as 'datalad-gooey' extension 1 år sedan
.gitignore db7eef06d7 Initial commit 1 år sedan
.noannex db7eef06d7 Initial commit 1 år sedan
.zenodo.json db7eef06d7 Initial commit 1 år sedan
CONTRIBUTORS db7eef06d7 Initial commit 1 år sedan
LICENSE db7eef06d7 Initial commit 1 år sedan
MANIFEST.in 5765452a98 Customize as 'datalad-gooey' extension 1 år sedan
Makefile db7eef06d7 Initial commit 1 år sedan
README.md 5765452a98 Customize as 'datalad-gooey' extension 1 år sedan
pyproject.toml db7eef06d7 Initial commit 1 år sedan
requirements-devel.txt db7eef06d7 Initial commit 1 år sedan
setup.cfg ca26822f4d Ready for code import 1 år sedan
setup.py 5765452a98 Customize as 'datalad-gooey' extension 1 år sedan
versioneer.py db7eef06d7 Initial commit 1 år sedan

README.md

DataLad extension template

Build status codecov.io crippled-filesystems docs

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_helloworld with datalad_<newname> (hint: git grep datalad_helloworld should find all spots).
  • Delete the example command implementation in datalad_helloworld/__init__.py by (re)moving the HelloWorld class.
  • Implement a new command, and adjust the command_suite in datalad_helloworld/__init__.py to point to it.
  • Replace hello_cmd with the name of the new command in datalad_helloworld/tests/test_register.py to automatically test whether the new extension installs correctly.
  • Adjust the documentation in docs/source/index.rst. Refer to docs/README.md for more information on documentation building, testing and publishing.
  • Replace this README.
  • Update setup.cfg with 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.