Metadata-Version: 2.1
Name: kedro-argo
Version: 0.0.4
Summary: Converting kedro pipelines to argo pipelines.
Home-page: https://github.com/nraw/kedro-argo
Author: Andrej Marsic
Author-email: marsic.andrej@gmail.com
License: BSD-3-Clause
Project-URL: Documentation, https://kedro-argo.readthedocs.io/
Project-URL: Changelog, https://kedro-argo.readthedocs.io/en/latest/changelog.html
Project-URL: Issue Tracker, https://github.com/nraw/kedro-argo/issues
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Utilities
Requires-Python: >=3.6, <3.8
Requires-Dist: click
Requires-Dist: kedro

==========
Kedro-Argo
==========



Converting kedro pipelines to argo pipelines.

* Free software: BSD 3-Clause License

Installation
============

::

    pip install kedro-argo

You can also install the in-development version with::

    pip install https://github.com/nraw/kedro-argo/archive/master.zip

Requirements
============

To be used with Kedro, so it's assumed this package is used with a Kedro project.
An image name is needed. You can generate one with Kedro-docker.
Argo CLI is needed for the deployment step.
As the workflow will be in Argo, all datasets should be somehow passed between containers or else the pipeline will fail.


Usage
============

When installed, argo should be visible under your kedro commands
::

    kedro

Get the kedro.yaml and the template file by running
::

   kedro argo IMAGE_NAME


You can now run:
::

   ytt -f templates > argo.yaml

or if you prefer in Docker:
::

   docker run --rm -it --name ytt -v $(pwd)/templates:/templates gerritk/ytt:latest -f /templates > argo.yaml

and finally
::

   argo submit --watch argo.yaml

Documentation
=============


https://kedro-argo.readthedocs.io/


Development
===========

To run the all tests run::

    tox

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox


Changelog
=========

0.0.4 (2020-03-07)
------------------

* Refactoring and initial adaptation
* Inclusion of tests

0.0.0 (2020-03-07)
------------------

* First release on PyPI.


