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

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 location of the event. Therefore, you must provide latitude and longitude in configuration.

Configuration

This node requires configuration. In order to read longitude or latitude you must define path to its data. Use dot notation to do that.

Example

{
  "latitude": "payload@location.latitude",
  "longitude": "payload@location.longitude"
}

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.

Active output ports will return input payload.

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

Uploaded Source

Built Distribution

tracardi_day_night_split-0.6.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tracardi-day-night-split-0.6.1.tar.gz
  • Upload date:
  • Size: 6.9 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.6.1.tar.gz
Algorithm Hash digest
SHA256 b73e8817541392d5ce488b59ca97575453ca43f12b3b20803af97dd55033d77b
MD5 65d7e6c1bf9e981fe9d30964f4ef19fc
BLAKE2b-256 14e6eee14c8036e6e55e93bf987c941a06c39dbac28dcef544e80486f8415200

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tracardi_day_night_split-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 7.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.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1826bb7c9d3ee218800d32a24f601f7c18a890fa306e007c043f47710d401600
MD5 11015ae8500b3b7bf8b914bf1bfc726b
BLAKE2b-256 c41e4c0d4a7b4e75fb0fd0d16a0350796dc6f85747a38f7d8218ecd33b5681fe

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