Python SDK and CLI for the Renku platform.
Project description
A Python library for the Renku collaborative data science platform. It allows the user to create projects, manage datasets, and capture data provenance while performing analysis tasks.
- NOTE:
renku-python is the python library for Renku that provides an SDK and a command-line interface (CLI). It does not start the Renku platform itself - for that, refer to the Renku docs on running the platform.
Installation
The latest release is available on PyPI and can be installed using pip:
$ pip install renku
The latest code can be installed directly from the Git repository:
$ pip install -e git+https://github.com/SwissDataScienceCenter/renku-python.git#egg=renku
Usage
Initialize a renku project:
$ mkdir -p ~/temp/my-renku-project $ cd ~/temp/my-renku-project $ renku init
Create a dataset and add data to it:
$ renku dataset create my-dataset $ renku dataset add my-dataset https://raw.githubusercontent.com/SwissDataScienceCenter/renku-python/master/README.rst
Run an analysis:
$ renku run wc < data/my-dataset/README.rst > wc_readme
Trace the data provenance:
$ renku log wc_readme
These are the basics, but there is much more that Renku allows you to do with your data analysis workflows. The full documentation will soon be available at: https://renku-python.readthedocs.io/
Changes
Version 0.1.0 (released TBD)
Initial public release.
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
Built Distribution
File details
Details for the file renku-0.1.0.dev20180618.tar.gz
.
File metadata
- Download URL: renku-0.1.0.dev20180618.tar.gz
- Upload date:
- Size: 185.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ecb3998caeef12577d131a02cc7d5d64900ef3c7c6c41deec0b8625162ad6f |
|
MD5 | d91b7ab1ab3e5639ba3483ddfbd8d4fa |
|
BLAKE2b-256 | 340cff357aca437a5bc16b42094b2dd961da9b87841485ae80e9c7895efaf304 |
File details
Details for the file renku-0.1.0.dev20180618-py2.py3-none-any.whl
.
File metadata
- Download URL: renku-0.1.0.dev20180618-py2.py3-none-any.whl
- Upload date:
- Size: 111.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f30919a94d9d3dbe079d1d6c31f3ef5540e8edfab6ecc61305c6b652bfe2a5b |
|
MD5 | ab12c5855c109cc5754a166120eb83b1 |
|
BLAKE2b-256 | 644965c82992707cc9bee30cd2b300a94c13e6355f4aa07df9bee65a192fbf00 |