Skip to main content

Sciunit command line

Project description

sciunit is a command-line tool that answers the call for a reusable research object that containerizes and stores applications simply and efficiently, facilitates sharing and collaboration, and eases the task of executing, understanding, and building on shared work.

Installing

This section introduces the binary distributions of sciunit.

Requires: pip>=8.1.1, glibc>=2.17, python2.7 with headers and compiler

Platform: amd64-pc-linux-gnu

Ensure that ~/.local/bin is in your PATH environment variable, and then, run

pip2 install --user sciunit2

Add --upgrade to the command line arguments to upgrade an existing sciunit installation.

[ Note Attempt to install sciunit with “pip install sciunit” will get you something else; our PyPI project is registered as “sciunit2”. –end note ]

Verify the installation with

sciunit --version

In the following per-distro instructions, if you see a command-line in the form of

export PATH=~/.local/bin:$PATH

, it merely means that you will need the aforementioned binary path in PATH before proceeding; normally you should adjust it according to your login shell and write it to a shell configuration such as ~/.profile.

Ubuntu 16.04

sudo apt update
sudo apt install python-dev python-pip
pip2 install --user sciunit2

Ubuntu 14.04

sudo apt update
sudo apt install python-dev python-pip
pip2 install --user -U pip
export PATH=~/.local/bin:$PATH
pip2 install --user sciunit2

Arch Linux

sudo pacman -S python2-pip
export PATH=~/.local/bin:$PATH
pip2 install --user sciunit2

Fedora 26

sudo dnf install python2-pip python2-devel gcc redhat-rpm-config
pip2 install --user sciunit2

CentOS 7

sudo yum install -y epel-release
sudo yum install python2-pip python-devel gcc
pip2 install --user sciunit2

RHEL 7

sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install python2-pip python-devel gcc
pip2 install --user sciunit2

Debian 9

sudo apt update
sudo apt install python-dev python-pip
export PATH=~/.local/bin:$PATH
pip2 install --user sciunit2

Debian 8

sudo apt update
sudo apt install python-dev python-pip
pip2 install --user -U pip
export PATH=~/.local/bin:$PATH
pip2 install --user sciunit2

OpenSUSE 42

Note that OpenSUSE defaults user-binary path to ~/bin rather than ~/.local/bin, so you may want to symlink one to the other.

sudo zypper install python-pip python-devel gcc
pip2 install --user -U pip
export PATH=~/.local/bin:$PATH
pip2 install --user sciunit2

Build from Source

Instructions for custom build of sciunit2 is available in our Bitbucket project repository. You may want to check it out if you are running on a system that is not supported by the binary distribution.

Post-install

Execute

sciunit post-install

as a normal user to add command-line completion support for sciunit to your login shell. When running this or any other sciunit command, if your environment is not listed in the Installing section, or you missed some prerequisites before issuing pip, you may observe the following error:

ImportError: No module named _bsddb

Fortunately, there are more than one ways to fulfill this dependency. Try to find and install a package often named “python-bsddb” or “python-bsddb3” with your system package manager. In Anaconda, you will need a port called “bsddb.”

To make the command-line completion work, if you are a bash users, make sure that you have the “bash-completion” package installed on your system. If you are a tcsh user, make sure that you have source ~/.complete in ~/.cshrc or ~/.tcshrc as suggested by the stock completion script.

Using

Checkout our tutorial and manpage. The manpage is available as

man sciunit

after a successful installation.

Sciunit acknowledges support from the National Science Foundation, Bloomberg Foundation, and DePaul University.

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

sciunit2-0.4.post56.dev130522793.tar.gz (820.0 kB view details)

Uploaded Source

Built Distributions

sciunit2-0.5.post56.dev130522793-py3-none-any.whl (830.5 kB view details)

Uploaded Python 3

sciunit2-0.5.post56.dev130522793-py2-none-any.whl (834.8 kB view details)

Uploaded Python 2

sciunit2-0.4.post56.dev130522793-py3-none-any.whl (829.6 kB view details)

Uploaded Python 3

sciunit2-0.4.post56.dev130522793-py2-none-any.whl (834.8 kB view details)

Uploaded Python 2

File details

Details for the file sciunit2-0.4.post56.dev130522793.tar.gz.

File metadata

  • Download URL: sciunit2-0.4.post56.dev130522793.tar.gz
  • Upload date:
  • Size: 820.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.0

File hashes

Hashes for sciunit2-0.4.post56.dev130522793.tar.gz
Algorithm Hash digest
SHA256 79464c6a7c50b97fa95beabf82aee124c392e5fa6b18ea4eefd782ff64a8c524
MD5 9dba802883d12bfa874028f8ffdc0d94
BLAKE2b-256 03f8cbbe941d17331ab5fec3d161f84c3c49613f9cc821d46968bb42cfedf1c5

See more details on using hashes here.

File details

Details for the file sciunit2-0.5.post56.dev130522793-py3-none-any.whl.

File metadata

  • Download URL: sciunit2-0.5.post56.dev130522793-py3-none-any.whl
  • Upload date:
  • Size: 830.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.0

File hashes

Hashes for sciunit2-0.5.post56.dev130522793-py3-none-any.whl
Algorithm Hash digest
SHA256 ca9b1b725f79b7d4f7c01de9a9fa0e38f13b87c2892566ddb5ef0cd698c8f52c
MD5 62f073e0f4b2fa0d051b4089a64b3462
BLAKE2b-256 ba88329f0d700f3a25de386d3cb294e18d880c95ddef58516a120911eba018e5

See more details on using hashes here.

File details

Details for the file sciunit2-0.5.post56.dev130522793-py2-none-any.whl.

File metadata

  • Download URL: sciunit2-0.5.post56.dev130522793-py2-none-any.whl
  • Upload date:
  • Size: 834.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.0

File hashes

Hashes for sciunit2-0.5.post56.dev130522793-py2-none-any.whl
Algorithm Hash digest
SHA256 cd505e1cb827514e7399233c64a6ed9eeaff827d174504b257755d51891ff2ec
MD5 dbbf04fec0d3fe9ffac0ed8517702c7e
BLAKE2b-256 88786e4af0b52856c5726ae4a3a7ecede5991b8a8bc211edbde217df3fa5e4d4

See more details on using hashes here.

File details

Details for the file sciunit2-0.4.post56.dev130522793-py3-none-any.whl.

File metadata

  • Download URL: sciunit2-0.4.post56.dev130522793-py3-none-any.whl
  • Upload date:
  • Size: 829.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.0

File hashes

Hashes for sciunit2-0.4.post56.dev130522793-py3-none-any.whl
Algorithm Hash digest
SHA256 154f59d3eda727c4ef97ab690c1c4ae67687a99a712710ffd8864ecc2762e5e9
MD5 95dd9657a254802acd3b90877d0fe441
BLAKE2b-256 dc65aa6885298faba9f91dc8c386f283c396e68baa58f23cdcad9c5a8763cc6e

See more details on using hashes here.

File details

Details for the file sciunit2-0.4.post56.dev130522793-py2-none-any.whl.

File metadata

  • Download URL: sciunit2-0.4.post56.dev130522793-py2-none-any.whl
  • Upload date:
  • Size: 834.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.0

File hashes

Hashes for sciunit2-0.4.post56.dev130522793-py2-none-any.whl
Algorithm Hash digest
SHA256 18b0378bc9d0f37ecebf9628fffa8fbeb4d55264762e1c591eaa1307cfa5690a
MD5 db43edc4c2fe207c8ace4b2e04fee298
BLAKE2b-256 93cc5658713c397f772b55485129ebf65a9728c8e2d32f9f6191abe70c9e8568

See more details on using hashes here.

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