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.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: tracardi-day-night-split-0.2.1.tar.gz
  • Upload date:
  • Size: 5.4 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.1.tar.gz
Algorithm Hash digest
SHA256 92df5823cb7cfcba538c33e608edee74650d1eed8509f4e12778c6efbd8ab091
MD5 6ab2cda3df0dc9e6bc9fadd6c01abd3d
BLAKE2b-256 3f417d9c873a3f0bc8806836c8a0e9683ee79d159eeec791213d20a6991e0713

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tracardi_day_night_split-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a199dcf9c3695985e93d47abb1bbeae8ea98cca299def1e0d77450ff52171db8
MD5 0908e40a7747ba6b89f03f680d2b9167
BLAKE2b-256 8870ca5efe429b2837cf926d68663f238107ef743889563cd7a78323ced458c3

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