Skip to main content

Python SDK and CLI for the Renku platform.

Project description

https://img.shields.io/travis/SwissDataScienceCenter/renku-python.svg https://img.shields.io/coveralls/SwissDataScienceCenter/renku-python.svg https://img.shields.io/github/tag/SwissDataScienceCenter/renku-python.svg https://img.shields.io/pypi/dm/renku.svg Documentation Status https://img.shields.io/github/license/SwissDataScienceCenter/renku-python.svg

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

renku-0.1.0.dev20180614.tar.gz (184.3 kB view details)

Uploaded Source

Built Distribution

renku-0.1.0.dev20180614-py2.py3-none-any.whl (110.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file renku-0.1.0.dev20180614.tar.gz.

File metadata

File hashes

Hashes for renku-0.1.0.dev20180614.tar.gz
Algorithm Hash digest
SHA256 7002d2d22550d31f5f77bd4ec3874e502277f3c5bf476936a614231a59fc86fb
MD5 a61f62d9ee9770ecfba1a11ef9eed5b3
BLAKE2b-256 a8a0909a83b2c46123f40f3131063e801ef6b9ff6ab81de449fa3d0c5bae3e6e

See more details on using hashes here.

File details

Details for the file renku-0.1.0.dev20180614-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for renku-0.1.0.dev20180614-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f0b98451f3138b3b6a61723260af3606505121243582ddd126ec257e101191a4
MD5 a9d099e34c48dc038f89afa179908a82
BLAKE2b-256 c6414b58e4df4785b0f01c6c36442050fc322caed5fe176f7637a4f7b07bade1

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