Skip to main content

Create a CLI to chain tasks as a pipeline

Project description

clichain

license python version build-status Documentation Status coverage pypi package

Create a command line interface to chain tasks as a pipeline

clichain is a framework to easily define task types and chain them from a command line interface.

The goal of this framework is to use David Beazle’s idea to implement task types as coroutines and use them to create and run a pipeline.

The goal is not to parallelize tasks but to be able to reuse task types in different configurations without need for coding and in some cases reuse a result from a long computational task for different purposes without running it several times.

install and test

install from pypi

using pip:

$ pip install clichain

install using requirements

There is a makefile in the project root directory:

$ make install

Using pip, the above is equivalent to:

$ pip install -r requirements.txt
$ pip install -e .

dev install

There is a makefile in the project root directory:

$ make dev

Using pip, the above is equivalent to:

$ pip install -r requirements-dev.txt
$ pip install -e .

run the tests

Use the makefile in the project root directory:

$ make test

This runs the tests generating a coverage html report

build the doc

The documentation is made with sphinx, you can use the makefile in the project root directory to build html doc:

$ make doc

Documentation

Documentation on Read The Docs.

Meta

loicpw - peronloic.us@gmail.com

Distributed under the MIT license. See LICENSE.txt for more information.

https://github.com/loicpw

Project details


Download files

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

Source Distribution

clichain-0.1.1.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clichain-0.1.1-py2.py3-none-any.whl (22.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file clichain-0.1.1.tar.gz.

File metadata

  • Download URL: clichain-0.1.1.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for clichain-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2cf049615308243d50209b43b2d0ac4f381afb738c86e2edabddd50aad70eefc
MD5 74b1a34813c41f716b7a4908f8339529
BLAKE2b-256 b960905b209fa0ff29a0ff381dcdafa1519c9727b8f055e80469e5112b2e35d3

See more details on using hashes here.

File details

Details for the file clichain-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: clichain-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for clichain-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8e95c6d2194d5b8fa84d5f49c98bfbed0459fd7dce2fb8403281913e278d25fc
MD5 cb70b7fab6cd0a58c5656e17a7cd23b9
BLAKE2b-256 c1d720c77ab821b97df9aba085ca1317e51227f2f630ed9f024766d6d636ddae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page