Skip to main content

rpc and node backbone

Project description

reaktion-next

codecov PyPI version Maintenance Maintainer PyPI pyversions PyPI status

workflow scheduler for arkitekt

Idea

reaktion is a scheduler extension for rekuest, it hooks into the agent and provides the "Deploy Flow" Node, that allows users to choose the app as a scheduler for their workflows. When deploying a flow, this plugin will create a new workflow node, which can now be reserved by any external app.

When reserving a workflow node, the plugin will create a new "Flow" Actor, which will be responsible for the execution of the workflow. This actor will keep track of the state of the workflow and acts as the scheduler.

Prerequesits

Services: In order to use reaktion_next you need a working arkitekt server with both "rekuest" (remote app calling-service) and "fluss" - (workflow design and run recording module)" installed.

Client: you need to install arkitekt-next with the "reaktion_next" extra enabled

Use inside an Arktiekt "Plugin"App

Add the reaktion_next import to your imports

from arkitekt_next import register
import reaktion_next # autoinstalls the scheduling extensions

@register
def do_something() -> None:
    """ Some other random installed functionaliry that is also provided """

Start your app via "arkitekt-next run dev". You should now see the reaktion badge appear on the AgentPage and you will find the scheduler in the Deploy Button subsection when deploying your app.

Use inside an Arkitekt "Standalone App"

from arkitekt import register, easy
import reaktion_next # autoinstalls the scheduling extensions

@register
def do_something() -> None:
    """ Some other random installed functionaliry that is also provided """



with easy("your_app_name", url="arkitekt-server-ulr") as e:
   e.run() # will start a normal arkitekt app with reaktion enabled

Experimental: Local Scheduling

An Arkitekt app that imports reaktion_next can also run entire local workflows the will call registered function in memory, and does not to copy data from and to the arkitket server.

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

reaktion_next-0.4.1.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

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

reaktion_next-0.4.1-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file reaktion_next-0.4.1.tar.gz.

File metadata

  • Download URL: reaktion_next-0.4.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for reaktion_next-0.4.1.tar.gz
Algorithm Hash digest
SHA256 68f7be4239e175a0a20de2fbfb5d18fb5adfc0f55e6cf677aa29f2f9da251348
MD5 0fe16268138d3f39bcf99d75eb102374
BLAKE2b-256 66438b6310b972019f86ec8b3a27a0f09671e910c8f96a38105ecbf1449a2c65

See more details on using hashes here.

File details

Details for the file reaktion_next-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: reaktion_next-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for reaktion_next-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55567a0f6ebd0590e1bc03faa97c9b4279a66ff0fd318654b1925476e3443937
MD5 ce85854df457ada4e5c079f5e2bea29e
BLAKE2b-256 cf163e3f15d4b1508323f1043b004047af5a71ce05d3665901dfc51c73615ffb

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