Giter Club home page Giter Club logo

codeflow's Introduction

GitHub version PyPI version Build Status Coverage Status Welcome to PyFlow!

PyFlow is a small module capable of making workflows easy. Workflows are defined in a json format that is easy to read and the code is put in state classes that can be defined elsewhere.


How to install

For now the easiest way to install PyFlow is to clone the source and run pip install. PyFlow might be added to pypi at a later stage to make it a bit easer.


Usage

I have provided an example in the example dir. It is quite straight forward and can be run by the following command:

sven@GLaDOS ~/downloads/PyFlow> python example

It will output gotta love this magic if it reaches the doMagic state and as well as the success value in the last state.

codeflow's People

Contributors

svenwiltink avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

codeflow's Issues

Multiple triggers to the same state

If multiple triggers are true, but they all transition to the same state an exception is thrown. This isn't the correct behavior. The test case + code should be altered.

More test cases

Think and implement more test cases that are required. Make a separate issue for each enhancement.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.