Skip to main content

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

https://img.shields.io/travis/gijzelaerr/kliko.svg https://img.shields.io/coveralls/gijzelaerr/kliko.svg https://img.shields.io/pypi/v/kliko.svg https://img.shields.io/pypi/pyversions/kliko.svg

Metadata

Release files for kliko 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kliko 0.8
File Size Uploaded
kliko-0.8.tar.gz 11.9 kB Details

Release files / kliko-0.8.tar.gz

Download URL kliko-0.8.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1e50c83127ea5fb0e62b6ed956997151e24a239b2c39342ad244d9d994752193
BLAKE2b-256 checksum
How to use checksums
b439eea8b8f1c719057f84a28e8326ca6ce77064a890779340da0ba61891fcb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.8 This release

1 release file

0.7.1

1 release file

0.7

1 release file

0.6.1

2 release files

0.6

1 release file

0.5

2 release files

0.4

1 release file

0.3

1 release file

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page