Skip to main content

A Command Line Interface for the Data2Services framework. See https://d2s.semanticscience.org/

Project description

Install

With pip

pip install d2s cwlref-runner

Use pip, pip3 or pipx depending on your preferences.

Requirements:

  • docker-compose
  • git
  • curl

Enable autocompletion

Enable commandline autocompletion in the terminal

Highly recommended, it makes d2s much more user-friendly

  • Bash: add the import autocomplete line to .bashrc
echo 'eval "$(_D2S_COMPLETE=source d2s)"' > ~/.bashrc

nano .bashrc if issues with the import

  • ZSH: add the import autocomplete line to .zshrc
echo 'eval "$(_D2S_COMPLETE=source_zsh d2s)"' > ~/.zshrc

nano .zshrc if issues with the import

Try it

Display the default help command

d2s

Create a d2s project in the current directory

d2s init

Development setup

# Add new package
pip install package && pip freeze > requirements.txt

Install for dev

Install d2s as cli in local for dev. d2s will be updated directly on change.

pip3 install --editable .

Script to build and publish automatically:

./publish_pip.sh

Build packages

python3 setup.py sdist bdist_wheel

Publish the built dist directory

twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

You might need to install twine

pipx install twine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

d2s-0.1.4.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

d2s-0.1.4-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page