Skip to main content

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.

Metadata

Release files for tracardi-day-night-split 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tracardi-day-night-split 0.6.1
File Size Uploaded
tracardi-day-night-split-0.6.1.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tracardi-day-night-split 0.6.1
File Interpreter ABI Platform
tracardi_day_night_split-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / tracardi-day-night-split-0.6.1.tar.gz

Download URL tracardi-day-night-split-0.6.1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b73e8817541392d5ce488b59ca97575453ca43f12b3b20803af97dd55033d77b
BLAKE2b-256 checksum
How to use checksums
14e6eee14c8036e6e55e93bf987c941a06c39dbac28dcef544e80486f8415200
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / tracardi_day_night_split-0.6.1-py3-none-any.whl

Download URL tracardi_day_night_split-0.6.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1826bb7c9d3ee218800d32a24f601f7c18a890fa306e007c043f47710d401600
BLAKE2b-256 checksum
How to use checksums
c41e4c0d4a7b4e75fb0fd0d16a0350796dc6f85747a38f7d8218ecd33b5681fe
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

2 release files

0.2.1

2 release files

0.2

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page