Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Scientific Compute Container Spec Parser

Project Description

About

KLIKO is a specification, validator and parser for the KLIKO Scientific Compute Container specification. It enables a developer of scientific software to structure the input, output and parameters of a dockerized compute task. KLIKO is written in Python.

Installation

You can install Kliko inside a docker container or just on your system:

$ python setup.py install

or from pypi:

$ pip install kliko

Usage

from a Python script inside a container:

from kliko.validate import validate
parameters = validate()

or to check if a kliko file has a valid syntax:

$ kliko-validate /kliko.yml

or try to run the docker image from the examples folder directly:

$ kliko-run kliko/minimal --help

    usage: kliko-run [-h] [--target_folder TARGET_FOLDER] --choice {second,first}
                     --char CHAR [--float FLOAT] --file FILE --int INT
                     image_name

    positional arguments:
      image_name

    optional arguments:
      -h, --help            show this help message and exit
      --target_folder TARGET_FOLDER
      --choice {second,first}
                            choice field (default: second)
      --char CHAR           char field, maximum of 10 chars (default: empty)
      --float FLOAT         float field (default: 0.0)
      --file FILE           file field, this file will be put in /input in case of
                            split io, /work in case of join io
      --int INT             int field

Documentation

The documentation can be found on http://kliko.readthedocs.org

Example

There are examples of a kliko and parameters file in the examples folder.

Travis build status

Release History

Release History

This version
History Node

0.8

History Node

0.7.1

History Node

0.7

History Node

0.6.1

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
kliko-0.8.tar.gz (11.9 kB) Copy SHA256 Checksum SHA256 Source Jan 11, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting