Skip to main content

The purpose of this plugin is to split the workflow depending on whether it is day or night of its execution.

Project description

Tracardi plugin

This code can be run within Tracardi workflow.

Day, Night split action

The purpose of this plugin is to split the workflow depending on day or night of its execution.

It will check if the event happened at day or night. Then it will route the workflow to the appropriate output port.

This action minds the time zone to the event. Therefore you must provide time zone. By default time zone is included in browser event context.

Configuration

This node require configuration. In order to read timezone you must define path to time zone. Use dot notation to do that.

Input payload

This node does not process input payload.

Output

This node has two output nodes. One for DAY route and one for NIGHT node. The DAY one is active when event happened at day. The NIGHT node is active when it is night.

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

tracardi-day-night-split-0.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

tracardi_day_night_split-0.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file tracardi-day-night-split-0.2.tar.gz.

File metadata

  • Download URL: tracardi-day-night-split-0.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.0

File hashes

Hashes for tracardi-day-night-split-0.2.tar.gz
Algorithm Hash digest
SHA256 33aeeea30e8a35a860243100010912239911282a13234831937e6302bc03a940
MD5 92030ec0a3586417cab92b0690252d46
BLAKE2b-256 7d0684f9817751de87feb316e9508ba57480ad2d30b6eb756362c66c29466e02

See more details on using hashes here.

File details

Details for the file tracardi_day_night_split-0.2-py3-none-any.whl.

File metadata

  • Download URL: tracardi_day_night_split-0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.0

File hashes

Hashes for tracardi_day_night_split-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ec87c56187c5f71abaabf669e72e2cfaacc3fe7a91ea21915ba371484703c6a6
MD5 675bb5b525617b9ccc37ae836036cc5f
BLAKE2b-256 a9332a7751d4588affbd5313d74442fbb63adfae3065ea4e6e6b199444c50fb1

See more details on using hashes here.

Supported by

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