Arvados client library
This package provides the arvados module, an API client for Arvados. It also includes higher-level functions to help you write Crunch scripts, and command-line tools to store and retrieve data in the Keep storage server.
Installing under your user account
This method lets you install the package without root access. However, other users on the same system won’t be able to use it.
- Run pip install --user arvados-python-client.
- In your shell configuration, make sure you add $HOME/.local/bin to your PATH environment variable. For example, you could add the command PATH=$PATH:$HOME/.local/bin to your .bashrc file.
- Reload your shell configuration. For example, bash users could run source ~/.bashrc.
Installing on Debian systems
Add this Arvados repository to your sources list:
deb http://apt.arvados.org/ stretch main
Update your package list.
Install the python-arvados-python-client package.
This client software needs two pieces of information to connect to Arvados: the DNS name of the API server, and an API authorization token. You can set these in environment variables, or the file $HOME/.config/arvados/settings.conf. The Arvados user documentation describes how to find this information in the Arvados Workbench, and install it on your system.
Testing and Development
This package is one part of the Arvados source package, and it has integration tests to check interoperability with other Arvados components. Our hacking guide describes how to set up a development environment and run tests.