Python SDK and CLI for the Renku platform.
Project description
..
Copyright 2017-2018 - Swiss Data Science Center (SDSC)
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================
Renku CLI and SDK for Python
==============================
.. image:: https://img.shields.io/travis/SwissDataScienceCenter/renku-python.svg
:target: https://travis-ci.org/SwissDataScienceCenter/renku-python
.. image:: https://img.shields.io/coveralls/SwissDataScienceCenter/renku-python.svg
:target: https://coveralls.io/r/SwissDataScienceCenter/renku-python
.. image:: https://img.shields.io/github/tag/SwissDataScienceCenter/renku-python.svg
:target: https://github.com/SwissDataScienceCenter/renku-python/releases
.. image:: https://img.shields.io/pypi/dm/renku.svg
:target: https://pypi.python.org/pypi/renku
.. image:: http://readthedocs.org/projects/renku-python/badge/?version=latest
:target: http://renku-python.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/github/license/SwissDataScienceCenter/renku-python.svg
:target: https://github.com/SwissDataScienceCenter/renku-python/blob/master/LICENSE
A Python library for the `Renku collaborative data science platform
<https://github.com/SwissDataScienceCenter/renku>`_. 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
<https://renku.readthedocs.io/en/latest/user/setup.html>`_.
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
Use following installation steps based on your operating system and preferences
if you would like to work with the command line interface and you do not need
the Python library to be importable.
MacOS
~~~~~
The recommended way of installing Renku on MacOS is via `Homebrew <brew.sh>`_.
::
$ brew tap swissdatasciencecenter/renku
$ brew install renku
..
TODO: uncomment one the snap build works.
Linux
~~~~~
There are universal *snap* packages available for Renku. Make sure you
have the ``snap`` command available or `install snapd
<https://docs.snapcraft.io/core/install>`_.
::
$ open https://launchpad.net/~swissdatasciencecenter/+snap/renku/
$ snap install renku
Pip Script Installer (``pipsi``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can use `pipsi <https://github.com/mitsuhiko/pipsi>`_ to isolate
dependencies and to guarantee that there are no version conflicts. Make sure
you have the ``pipsi`` command correctly installed and ``~/.local/bin`` is in
your ``$PATH``.
::
$ pipsi install renku
$ which renku
~/.local/bin/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/
..
Copyright 2017-2018 - Swiss Data Science Center (SDSC)
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Changes
=======
Version 0.2.0 (released 2018-09-25)
- Refactored version using Git and Common Workflow Language.
Version 0.1.0 (released 2017-09-06)
- Initial public release as Renga.
Copyright 2017-2018 - Swiss Data Science Center (SDSC)
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================
Renku CLI and SDK for Python
==============================
.. image:: https://img.shields.io/travis/SwissDataScienceCenter/renku-python.svg
:target: https://travis-ci.org/SwissDataScienceCenter/renku-python
.. image:: https://img.shields.io/coveralls/SwissDataScienceCenter/renku-python.svg
:target: https://coveralls.io/r/SwissDataScienceCenter/renku-python
.. image:: https://img.shields.io/github/tag/SwissDataScienceCenter/renku-python.svg
:target: https://github.com/SwissDataScienceCenter/renku-python/releases
.. image:: https://img.shields.io/pypi/dm/renku.svg
:target: https://pypi.python.org/pypi/renku
.. image:: http://readthedocs.org/projects/renku-python/badge/?version=latest
:target: http://renku-python.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/github/license/SwissDataScienceCenter/renku-python.svg
:target: https://github.com/SwissDataScienceCenter/renku-python/blob/master/LICENSE
A Python library for the `Renku collaborative data science platform
<https://github.com/SwissDataScienceCenter/renku>`_. 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
<https://renku.readthedocs.io/en/latest/user/setup.html>`_.
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
Use following installation steps based on your operating system and preferences
if you would like to work with the command line interface and you do not need
the Python library to be importable.
MacOS
~~~~~
The recommended way of installing Renku on MacOS is via `Homebrew <brew.sh>`_.
::
$ brew tap swissdatasciencecenter/renku
$ brew install renku
..
TODO: uncomment one the snap build works.
Linux
~~~~~
There are universal *snap* packages available for Renku. Make sure you
have the ``snap`` command available or `install snapd
<https://docs.snapcraft.io/core/install>`_.
::
$ open https://launchpad.net/~swissdatasciencecenter/+snap/renku/
$ snap install renku
Pip Script Installer (``pipsi``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can use `pipsi <https://github.com/mitsuhiko/pipsi>`_ to isolate
dependencies and to guarantee that there are no version conflicts. Make sure
you have the ``pipsi`` command correctly installed and ``~/.local/bin`` is in
your ``$PATH``.
::
$ pipsi install renku
$ which renku
~/.local/bin/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/
..
Copyright 2017-2018 - Swiss Data Science Center (SDSC)
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Changes
=======
Version 0.2.0 (released 2018-09-25)
- Refactored version using Git and Common Workflow Language.
Version 0.1.0 (released 2017-09-06)
- Initial public release as Renga.
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.2.0.tar.gz
(95.7 kB
view details)
Built Distribution
renku-0.2.0-py2.py3-none-any.whl
(100.0 kB
view details)
File details
Details for the file renku-0.2.0.tar.gz
.
File metadata
- Download URL: renku-0.2.0.tar.gz
- Upload date:
- Size: 95.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7aa59562b40d13747d825f0dd84503b5e6f8b789144f08769ad797504b611f |
|
MD5 | 7cf3ad71b8eaacab3575f66a8ec7e654 |
|
BLAKE2b-256 | 7ad113e465324232dc7d9c3a4743f701e4506c04c4396ccc9a82ce06b00b1ca9 |
File details
Details for the file renku-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: renku-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 100.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 715204d9874d8b416fdb9eb734fd59c517fdb4ec08ce579d7a4f4c197d58b486 |
|
MD5 | 57a6f00b9dfb4bbb301daee62735837a |
|
BLAKE2b-256 | d837ee446d33393625e24a3710ce026b49dceb98403471929af0a22010ee5b52 |