Skip to main content

The flexible python workflow tool

Project description

AtraxiFlow

The flexible python workflow tool

Build Status Documentation Status Language grade: Python PyPI version

  • Create easy-to-read automation scripts in minutes - work with files, folders, images or anything else
  • Add your own logic as AtraxiFlow node and share it with others
  • Use a console for in- and output or add one of the UI nodes to show graphical messages and input forms built with Qt5

Learn

Install

pip install atraxi-flow

Requirements

  • Python 3.4 or higher
  • If you want to use the UI nodes and functions, you will need to install Pyside2 (optional)

Latest Changes

1.0.3: New nodes: TextFileInputNode, TextFileOutputNode. Fixes for ShellExecNode on Windows. New convenience node-function: "echo()".

1.0.2: Fixes in DateTimeProcessor and improved file date/time comparison in FileFilterNode

1.0.1: ShellExecNode: new options "echo_command" and "echo_output"

1.0.0: First production release

Example script

from atraxiflow.nodes.common import CLIInputNode, EchoOutputNode
from atraxiflow.nodes.text import TextValidatorNode
from atraxiflow.core.stream import *

get_name = CLIInputNode('node', {'prompt': "What's your name? ", 'save_to': 'username' })
get_greeting = CLIInputNode('node', {'prompt': "And your favourite greeting? ", 'save_to': 'usergreeting' })

# let's make sure we have a name and a greeting
check_input = TextValidatorNode({'sources': 'Text:user*', 'rules': {'not_empty': {}}})
out = EchoOutputNode({'msg': '{Text:usergreeting} {Text:username}, nice to meet you!'})

# let's go!
Stream.create() >> get_name >> get_greeting >> check_input >> out >> flow()

Project details


Download files

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

Files for atraxi-flow, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size atraxi_flow-1.0.3-py3-none-any.whl (46.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size atraxi-flow-1.0.3.tar.gz (22.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page